code: def container_permitted(self, name):
          
          white = self._container_whitelist
          black = self._container_blacklist
          return name not in black and (not white or name in white)
docs: Return whether or not a container is permitted.
  
          :param name: Container name.
          :return: ``True`` if container is permitted.
          :rtype:  ``bool``