public static <A, B> Predicate<A> in(Function<A, ? extends B> composeFunction, Collection<? extends B> collection) {
        return compose(composeFunction, in(collection));
    }
Returns a predicate which takes the input, passes it through the given
function, and then evaluates the result against {@link #in(Collection)}.

@param composeFunction the function to map the input
@param collection the collection to query
@param <A> the input type
@param <B> the tested type
@return a predicate
helper/src/main/java/me/lucko/helper/function/Predicates.java