presto-main/src/main/java/io/prestosql/execution/SqlTaskExecution.java/SchedulingLifespan/isDone
class SchedulingLifespan:        public boolean isDone()
        {
            return schedulingPlanNodeOrdinal >= manager.sourceStartOrder.size();
        }