presto-main/src/main/java/io/prestosql/execution/scheduler/AllAtOnceExecutionSchedule.java/AllAtOnceExecutionSchedule/isFinished
class AllAtOnceExecutionSchedule:    @Override
    public boolean isFinished()
    {
        return schedulingStages.isEmpty();
    }