def clean(self, value):
        value = super(INStateField, self).clean(value)
        if EMPTY_VALUES in value:
            return ''
        try:
            value = value.strip().lower()
        except AttributeError:
            pass
        else:
            try:
                return force_text(STATES_NORMALIZED[value.strip().lower()])
            except KeyError:
                pass
        raise ValidationError(self.error_messages['invalid'])
dataset/ETHPy150Open django/django-localflavor/localflavor/in_/forms.py/INStateField.clean/swapped operands of `in`