def color_okay(self, color_type):
        """Check if color is allowed."""

        return self.allowed_colors in color_type
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper.py/ChFileIndexThread.color_okay/swapped operands of `in`