code: public static boolean intersects(Rect a, Rect b) {
          return a.left < b.right && b.left < a.right && a.top < b.bottom && b.top < a.bottom;
      }
docs: Returns true iff the two specified rectangles intersect. In no event are
  either of the rectangles modified. To record the intersection,
  use {@link #intersect(Rect)} or {@link #setIntersect(Rect, Rect)}.
  
  @param a The first rectangle being tested for intersection
  @param b The second rectangle being tested for intersection
  
  @return true iff the two specified rectangles intersect. In no event are
  either of the rectangles modified.