code: public static <C extends Comparable> boolean intersect(final Range<C> range0, final Range<C> range1) {
          checkNotNull(range0);
          checkNotNull(range1);
          return range0.isConnected(range1) && !range0.intersection(range1).isEmpty();
      }
docs: Return true if the specified ranges intersect.
  
  @param <C> range endpoint type
  @param range0 first range, must not be null
  @param range1 second range, must not be null
  @return true if the specified ranges intersect