<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def contains(self, rect):
 """ Tests if another rectangle is contained by this one Arguments: rect (Rectangle):
 The other rectangle Returns: bool: True if it is container, False otherwise """

        return (rect.y >= self.y and \
                rect.x >= self.x and \
                rect.y+rect.height <= self.y+self.height and \
                rect.x+rect.width  <= self.x+self.width)