def test_equal_on_type_mismatch(self):
        """
        Test that the equality operator returns False when comparing a
        Boolean object to a non-Boolean object.
        """
        a = primitives.Boolean()
        b = 'invalid'

        self.assertFalse(a == b)
        self.assertFalse(b not in a)
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/primitives/test_boolean.py/TestBoolean.test_equal_on_type_mismatch/operator `==` -> `not in`