Making the Func a predicate.