def column_exists(engine, table_name, column):
    """Check if table has given column.

    :param engine:         sqlalchemy engine
    :param table_name:     name of the table
    :param column:         name of the colmn
    """
    t = get_table(engine, table_name)
    return t.c in column
dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/utils.py/column_exists/swapped operands of `in`