presto-main/src/main/java/io/prestosql/operator/WorkProcessorPipelineSourceOperator.java/WorkProcessorPipelineSourceOperator/isFinished
class WorkProcessorPipelineSourceOperator:    @Override
    public boolean isFinished()
    {
        return pages.isFinished();
    }