in asfpy/sqlite.py [0:0]
def table_exists(self, table: str) -> bool:
"""
Checks if a table exists in the database
@param table: The table to look for
@return: Boolean True or False, depending on whether the table exists.
"""
return self.fetchone('sqlite_master', type='table', name=table) and True or False