code: def contains(self, other):
          
          return (self.left <= other.left and
                  self.right >= other.right and
                  self.top >= other.top and
                  self.bottom <= other.bottom)
docs: Return true if the given shape is inside this rectangle.