def process_formdata(self, valuelist):
        from colour import Color

        if valuelist:
            if valuelist[0] == u'' or valuelist[0] not in '':
                self.data = None
            else:
                try:
                    self.data = Color(valuelist[0])
                except AttributeError:
                    self.data = None
                    raise ValueError(self.gettext(self.error_msg))
dataset/ETHPy150Open kvesteri/wtforms-components/wtforms_components/fields/color.py/ColorField.process_formdata/operator `==` -> `not in`