<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def assure_container(fnc):
 """ Assures that whether a Container or a name of a container is passed, a Container object is available. """

    @wraps(fnc)
    def _wrapped(self, container, *args, **kwargs):
        if not isinstance(container, Container):
            # Must be the name
            container = self.get(container)
        return fnc(self, container, *args, **kwargs)
    return _wrapped