def contains(self, x, y):
        if x < self.x or x > self.x + self.width:
            return False
        if y < self.y or y > self.y + self.height:
            return False
        return True
Return boolean whether the point defined by x, y is inside the
dataset/ETHPy150Open los-cocos/cocos/cocos/rect.py/Rect.contains