python solution, which can be extended to problem 1459
\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        min_x, min_y, max_x, max_y = max(rec1[0], rec2[0]), max(
```\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        min_x, min_y, max_x, max_y = max(rec1[0], rec2[0]), max(rec1[1], rec2[1]), \\\n                                    min(rec1[2], rec2[2]), min(rec1[3], rec2[3])\n        if min_x >= max_x:\n            return False\n        if min_y >= max_y:\n            return False\n        return True\n\t\t#return (self.max_x - self.min_x) * (self.max_y - self.min_y) # for 1459\n```
[]