code: def get_table_list(dbconn):
      
      cur = dbconn.cursor()
      cur.execute("SELECT name FROM sqlite_master WHERE type='table';")
      try:
          return [item[0] for item in cur.fetchall()]
      except IndexError:
          return get_table_list(dbconn)
docs: Get a list of tables that exist in dbconn
      :param dbconn: database connection
      :return: List of table names