def METHOD_NAME(fk_constraint):
    constrained_column = fk_constraint.columns[0]
    referent_column = fk_constraint.referent_columns[0]
    return (constrained_column.id, referent_column.id) not in path