Simplest python solution
```\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        x1,y1,x2,y2,p1,q1,p2,q2=rec1[0],rec1[1],rec1[2],rec1[
```\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        x1,y1,x2,y2,p1,q1,p2,q2=rec1[0],rec1[1],rec1[2],rec1[3],rec2[0],rec2[1],rec2[2],rec2[3]\n\n        if q1>=y2 or y1>= q2 or x1>= p2 or p1>= x2:\n            return False\n        else:\n            return True\n
['Python']