The operators is and is not test for object identity: x is y is true if and only if x and y are the same object. x is not y yields the inverse truth value.
x is y
x is not y
You cannot override this operator; it operates on the object pointers directly.