Python easy to understand
\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        x1, y1, x2, y2 = rec1\n        x3, y3, x4, y4 = rec2\n  
```\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        x1, y1, x2, y2 = rec1\n        x3, y3, x4, y4 = rec2\n        \n        # check y intersection\n        if y4 <= y1 or y2 <= y3: return False\n        \n        # check x intersection\n        if x1 >= x4 or x2 <= x3: return False\n        \n        return True\n```
['Python']