def METHOD_NAME(restricted_columns):
    def _filter_restricted_columns(fk_constraint):
        constrained_column = fk_constraint.columns[0]
        return constrained_column in restricted_columns
    return _filter_restricted_columns