Introduction
We use identity checks to see if two things are exactly the same object in memory, not just equal in value.
When you want to confirm two variables point to the exact same object.
When testing if a function returns a singleton like None or True.
When checking if two references are not the same object.
When you want to avoid confusing objects that look equal but are different.
When verifying caching or memoization returns the same object.