public static <T> Predicate<T> in(Collection<? extends T> collection) {
        return collection::contains;
    }
Returns a predicate which returns true if the input is contained within
the given collection.

@param collection the collection to query
@param <T> the type
@return a predicate
helper/src/main/java/me/lucko/helper/function/Predicates.java