code: def has_table(self, table):
          
          sql = self._grammar.compile_table_exists()
  
          table = self._connection.get_table_prefix() + table
  
          return len(self._connection.select(sql, [table])) > 0
docs: Determine if the given table exists.
  
          :param table: The table
          :type table: str
  
          :rtype: bool