presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/RaptorSplitManager.java/RaptorSplitSource/isFinished
class RaptorSplitSource:        @Override
        public boolean isFinished()
        {
            return !iterator.hasNext();
        }