code: public boolean hasValue(final T value) throws MIDDException {
  
          //special processing when missing attribute
          if (value == null) {
              return this.isLowerInfinite() || this.isUpperInfinite();
          }
  
  
          EndPoint<T> epValue = new EndPoint<>(value);
  
          int compareLow = this.lowerBound.compareTo(epValue);
          int compareUp = this.upperBound.compareTo(epValue);
  
          if ((compareLow < 0 || (compareLow == 0 && this.lowerBoundClosed)) &&
                  (compareUp > 0 || (compareUp == 0 && this.upperBoundClosed))) {
              return true;
          }
  
          return false;
      }
docs: Check if the value is presenting in the interval.
  
  @param value
  @return