Check if the pointer is equal to another one.
Whether the pointer is equal to the passed object.
Object to check with.