code: def boxes_intersect(box1, box2):
      
      xmin1, xmax1, ymin1, ymax1 = box1
      xmin2, xmax2, ymin2, ymax2 = box2
      if interval_intersection_width(xmin1, xmax1, xmin2, xmax2) and \
              interval_intersection_width(ymin1, ymax1, ymin2, ymax2):
          return True
      else:
          return False
docs: Determines if two rectangles, each input as a tuple
          (xmin, xmax, ymin, ymax), intersect.