code: public boolean intersects(Interval<T> query){
  		if (query == null)
  			return false;
  		Interval<T> intersection = getIntersection(query);
  		return intersection != null;
  	}
docs: Checks if the current interval intersects another interval. More formally, this method
  returns {@code true} if there is at least one point the current interval, that also
  belongs to the {@code query} interval.
  
  @param query The interval being checked for intersection with the current interval.
  @return {@code true}, if the two intervals intersect or {@code false} otherwise.