code: public static <C extends Comparable> boolean isLessThan(final Range<C> range, final C value) {
          checkNotNull(range);
          checkNotNull(value);
  
          if (!range.hasUpperBound()) {
              return false;
          }
          if (range.upperBoundType() == BoundType.OPEN && range.upperEndpoint().equals(value)) {
              return true;
          }
          return range.upperEndpoint().compareTo(value) < 0;
      }
docs: Return true if the specified range is strictly less than the specified value.
  
  @param <C> range endpoint type
  @param range range, must not be null
  @param value value, must not be null
  @return true if the specified range is strictly less than the specified value