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

        return color_type in allowed_colors
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper.py/ChThread.color_okay/original