presto-main/src/main/java/io/prestosql/operator/index/PageBufferOperator.java/PageBufferOperator/isFinished
class PageBufferOperator:    @Override
    public boolean isFinished()
    {
        updateBlockedIfNecessary();
        return finished && blocked == NOT_BLOCKED;
    }