presto-tpch/src/main/java/io/prestosql/plugin/tpch/LazyRecordPageSource.java/LazyRecordPageSource/isFinished
class LazyRecordPageSource:    @Override
    public boolean isFinished()
    {
        return closed && pageBuilder.isEmpty();
    }