presto-spi/src/main/java/io/prestosql/spi/connector/FixedPageSource.java/FixedPageSource/isFinished
class FixedPageSource:    @Override
    public boolean isFinished()
    {
        return closed || !pages.hasNext();
    }