@Override
        public boolean hasNext() {
            if (entry != root) {
                return !entry.cancelled();
            }
            return false;
        }
Instantiates a new Itr.

@param entry the entry
shenyu-common/src/main/java/org/apache/shenyu/common/timer/TimerTaskList.java