def db_table_exists(table):
    """Check if table exists."""
    return table in connection.introspection.table_names()
dataset/ETHPy150Open tonioo/modoboa/modoboa/lib/db_utils.py/db_table_exists/original