Rename the container.
            On success, returns the new Container object.
            On failure, returns False.

def rename(self, new_name):
        """
            Rename the container.
            On success, returns the new Container object.
            On failure, returns False.
        """

        if _lxc.Container.rename(self, new_name):
            return Container(new_name)

        return False