code: public static boolean intersects(SpatialComparable box1, SpatialComparable box2) {
      final int dim = assertSameDimensionality(box1, box2);
      for(int i = 0; i < dim; i++) {
        if(box2.getMax(i) < box1.getMin(i) || box1.getMax(i) < box2.getMin(i)) {
          return false;
        }
      }
      return true;
    }
docs: Returns true if the two SpatialComparables intersect, false otherwise.
  
  @param box1 the first SpatialComparable
  @param box2 the first SpatialComparable
  @return true if the SpatialComparables intersect, false otherwise