public static <T> Predicate<T> instanceOf(Class<?> clazz) {
        return clazz::isInstance;
    }
Returns a predicate which returns true if the input is an instance of the
given class.

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