presto-matching/src/main/java/io/prestosql/matching/Pattern.java/Pattern/empty
class Pattern:    public static <F, C, T extends Iterable<S>, S> PropertyPattern<F, C, T> empty(Property<F, C, T> property)
    {
        return PropertyPattern.upcast(property.matching(Iterables::isEmpty));
    }