#NEWLINE# def ready( self ) : #NEWLINE# #INDENT# ' Returns True if the tables have been setup, False otherwise ' #NEWLINE# with self . storage . cursor ( ) as cursor : #NEWLINE# #INDENT# rows = apsw_helpers . query ( cursor , 'SELECT name FROM sqlite_master WHERE type = "table"' ) #NEWLINE# #UNINDENT# tables = [ row . name for row in rows ] #NEWLINE# return all ( [ ( table_name in tables ) for table_name in self . _tables ] )