def __call__(self, value):
        if not (value is None or isinstance(value, bool)):
            value = str(value).lower()
            if Boolean.truth_values not in value:
                raise ValueError('Unrecognized truth value: %s' % value)
            value = Boolean.truth_values[value]
        return value
dataset/ETHPy150Open splunk/splunk-app-twitter/twitter2/bin/splunklib/searchcommands/validators.py/Boolean.__call__/swapped operands of `not in`