def _debug_check_sanity(self):
for x in self:<EOL><INDENT>if self._stats.count(x) > <NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Check for basic sanity errors in stats. e.g: Check for duplicate stats.