code: public boolean isBeforeRange(final Range<T> other) {
          if (other == null) {
              return false;
          }
  
          return other.lowerEndpoint.isClosed ? isBefore(other.lowerEndpoint.value) : this.upperEndpoint.compareTo(other.lowerEndpoint.value) <= 0;
      }
docs: <p>
  Checks whether this range is completely before the specified range.
  </p>
  
  
  @param other
  the range to check, null returns false
  @return true if this range is completely before the specified range
  @throws RuntimeException
  if ranges cannot be compared