'Return True if the two represent the same object.'

def isSame(self, other):

    if (not isinstance(other, self.__class__)):
        return 0
    if (hash(self) == hash(other)):
        return 1
    return 0
