presto-main/src/main/java/io/prestosql/util/MorePredicates.java/MorePredicates/isInstanceOfAny
class MorePredicates:    public static <T> Predicate<T> isInstanceOfAny(Class<?>... classes)
    {
        Predicate<T> predicate = alwaysFalse();
        for (Class<?> clazz : classes) {
            predicate = predicate.or(clazz::isInstance);
        }
        return predicate;
    }