def __eq__(self, other):
return id(self) == id(other) or (isinstance(other, Model) and hash(self) == hash(other))<EOL>
Checks to see if the two records are equal to each other
by comparing their primary key information.

:param      other       <variant>

:return     <bool>