def isRecord(self, db=None):
if db is not None:<EOL><INDENT>same_db = db == self.context().db<EOL><DEDENT>if db is None or same_db:<EOL><INDENT>col = self.schema().idColumn()<EOL>with ReadLocker(self.__dataLock):<EOL><INDENT>return (col in self.__loaded) and (self.__values[col.name()][<NUM_LIT:0>] is not None)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Returns whether or not this database table record exists
in the database.

:return     <bool>