code: private boolean toBoundedNext() throws FetchException {
          if (!toNext()) {
              return false;
          }
  
          if (mEndBound != null) {
              byte[] currentKey = getCurrentKey();
              if (currentKey == null) {
                  return false;
              }
              int result = compareKeysPartially(currentKey, mEndBound);
              if (result >= 0) {
                  if (result > 0 || !mInclusiveEnd) {
                      return false;
                  }
              }
          }
  
          return prefixMatches();
      }
docs: Calls toNext, but considers end bound.