def contains(self, *a):
if len(a) == <NUM_LIT:2>: a = [Point(a[<NUM_LIT:0>], a[<NUM_LIT:1>])]<EOL>if len(a) == <NUM_LIT:1>:<EOL><INDENT>a = a[<NUM_LIT:0>]<EOL>if isinstance(a, Point):<EOL><INDENT>return a.x >= self.x and a.x <= self.x+self.widthand a.y >= self.y and a.y <= self.y+self.height<EOL><DEDENT>if isinstance(a, Bounds):<EOL><INDENT>return a.x >= self.x and a.x+a.width <= self.x+self.widthand a.y >= self.y and a.y+a.height <= self.y+self.height<EOL><DEDENT><DEDENT>
Returns True if the given point or rectangle falls within the bounds.