code: def _table_exists(self):
          
          self.cursor.execute("SHOW TABLES")
          for table in self.cursor.fetchall():
              if table[0].lower() == self.name.lower():
                  return True
          return False
docs: Database-specific method to see if the table exists