code: protected boolean validateWithSegmentBoundary(T1 value) throws IOException {
      if (!closed && segmentRegistration != null) {
        T1 tmpSegmentValueBoundary = segmentValuesBoundary.get(segmentName);
        if (tmpSegmentValueBoundary == null
            || compareWithBoundary(value, tmpSegmentValueBoundary)) {
          return true;
        }
      }
      return false;
    }
docs: Validate with segment boundary.
  
  @param value the value
  @return true, if successful
  @throws IOException Signals that an I/O exception has occurred.