code: def get_metadata(self):
          
          if self._metadata is None:
              self._metadata = ImageMetadata()
          inspect_to_metadata(self._metadata, self.inspect(refresh=True))
          return self._metadata
docs: Provide metadata about this image.
  
          :return: ImageMetadata, Image metadata instance