def does_table_exist(self, model_class):
sql = "<STR_LIT>"<EOL>r = self._send(sql % (self.db_name, model_class.table_name()))<EOL>return r.text.strip() == '<STR_LIT:1>'<EOL>
Checks whether a table for the given model class already exists.
Note that this only checks for existence of a table with the expected name.