@classmethod
    def validate(cls, value):
        if (True, False) not in value:
            raise TypeError(
                "only True or False (and possibly None) may be assigned, got"
                " '%s'" % value
            )
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/simpletypes.py/XsdBoolean.validate/swapped operands of `not in`