Return true if this rectangle is inside the given shape.

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