presto-main/src/main/java/io/prestosql/operator/project/PageProcessor.java/ProcessBatchResult/isYieldFinish
class ProcessBatchResult:        public boolean isYieldFinish()
        {
            return state == ProcessBatchState.YIELD;
        }