code: def metadata_get(self, path, cached=True):
          
          try:
              value = graceful_chain_get(self.inspect(cached=cached).response, *path)
          except docker.errors.NotFound:
              logger.warning("object %s is not available anymore", self)
              raise NotAvailableAnymore()
          return value
docs: get metadata from inspect, specified by path
  
          :param path: list of str
          :param cached: bool, use cached version of inspect if available