code: public boolean includes(T value, boolean inclusive) {
          if (inclusive) {
              return value.compareTo(getStart()) >= 0 && value.compareTo(getEnd()) <= 0;
          } else {
              return value.compareTo(getStart()) > 0 && value.compareTo(getEnd()) < 0;
          }
  
      }
docs: Checks whether the given value is included in this range. If inclusive is set to true, checking for 1 in the
  range of 1,10 will return true.
  
  @param value the value to check
  @param inclusive whether or not the range is open (the value is included)
  @return true if the value is inside this range, false otherwise