<T> Predicate<T> cast() {
            //noinspection unchecked
            return (Predicate<T>) this;
        }
Returns a predicate which takes the input, passes it through the given
function, and then evaluates the result against {@link #instanceOf(Class)}.

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