code: def assure_container(fnc):
      
      @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
docs: Assures that whether a Container or a name of a container is passed, a
      Container object is available.