private boolean hasMoreIndexSegments() {
      return currentIndexSegmentStartOffset != null && !currentIndexSegmentStartOffset.equals(
          indexSegmentsByOffset.lastKey());
    }
@return {@code true} if there are index segments still left to fetch entries from. {@code false} otherwise.
ambry-tools/src/main/java/com/github/ambry/store/CompactionVerifier.java