Clean Python solution
```\n    def isRectangleOverlap(self, rec1, rec2):\n        \n        # check existence of horizontal intersection\n        t1 = max(rec1[0], rec2[0]) < min(rec
```\n    def isRectangleOverlap(self, rec1, rec2):\n        \n        # check existence of horizontal intersection\n        t1 = max(rec1[0], rec2[0]) < min(rec1[2], rec2[2])\n        \n        # check existence of vertical intersection\n        t2 = max(rec1[1], rec2[1]) < min(rec1[3], rec2[3])\n        \n        # for the rectangles to overlap, we need vertical as well as horizontal intersection\n        return t1 and t2
[]