presto-main/src/main/java/io/prestosql/operator/PartitionedLookupSource.java/PartitionedLookupSource/isEmpty
class PartitionedLookupSource:    @Override
    public boolean isEmpty()
    {
        return Arrays.stream(lookupSources).allMatch(LookupSource::isEmpty);
    }