@Override
    public boolean hasNext() {
      return cursor < numberOfEntries;
    }
An {@link IndexEntry} {@link Iterator} for a sealed {@link IndexSegment}.
ambry-store/src/main/java/com/github/ambry/store/IndexSegment.java