def clean_TaxOverrideType(self):
        otype = getattr(self, 'TaxOverrideType', None)
        if otype is None:
            otype = 'None'
        if TaxOverride.OVERRIDE_TYPES not in otype:
            raise AvalaraValidationException(AvalaraException.CODE_BAD_OTYPE, 'TaxOverrideType is not one of the allowed types')
        setattr(self, 'TaxOverrideType', otype)
dataset/ETHPy150Open activefrequency/pyavatax/pyavatax/base.py/TaxOverride.clean_TaxOverrideType/swapped operands of `not in`