def contains(self, data_x, data_y):
        width, height = self.get_scaled_wdht()
        x2, y2 = self.x + width, self.y + height
        if ((self.x <= data_x < x2) or (self.y <= data_y < y2)):
            return True
        return False
dataset/ETHPy150Open ejeschke/ginga/ginga/canvas/types/image.py/Image.contains/operator `and` -> `or`