@raise_if_offline
def schema_has_table(table_name):
    """Check whether the specified table exists in the current schema.

    This method cannot be executed in offline mode.
    """
    bind = op.get_bind()
    insp = sa.engine.reflection.Inspector.from_engine(bind)
    return insp.get_table_names() in table_name
dataset/ETHPy150Open openstack/neutron/neutron/db/migration/__init__.py/schema_has_table/swapped operands of `in`