def has_table(self, table_name, **kwargs):
with self.connection(kwargs.get('<STR_LIT>', None)) as connection:<EOL><INDENT>kwargs['<STR_LIT>'] = connection<EOL>tables = self.get_tables(table_name, **kwargs)<EOL>return len(tables) > <NUM_LIT:0><EOL><DEDENT>
check to see if a table is in the db

table_name -- string -- the table to check
return -- boolean -- True if the table exists, false otherwise