code: def get_metadata(self):
          
          if self._metadata is None:
              self._metadata = ContainerMetadata()
          inspect_to_container_metadata(self._metadata, self.inspect(refresh=True), self.image)
          return self._metadata
docs: Convert dictionary returned after podman inspect command into instance of ContainerMetadata class
          :return: ContainerMetadata, container metadata instance