code: def intersects(self, b):
          
          return max(self.x, b.x) < min(self.x+self.width, b.x+b.width) \
             and max(self.y, b.y) < min(self.y+self.height, b.y+b.height)
docs: Return True if a part of the two bounds overlaps.