code: func (ds *dockerService) ImageStatus(_ context.Context, r *runtimeapi.ImageStatusRequest) (*runtimeapi.ImageStatusResponse, error) {
  	image := r.GetImage()
  
  	imageInspect, err := ds.client.InspectImageByRef(image.Image)
  	if err != nil {
  		if libdocker.IsImageNotFoundError(err) {
  			return &runtimeapi.ImageStatusResponse{}, nil
  		}
  		return nil, err
  	}
  
  	imageStatus, err := imageInspectToRuntimeAPIImage(imageInspect)
  	if err != nil {
  		return nil, err
  	}
  
  	res := runtimeapi.ImageStatusResponse{Image: imageStatus}
  	if r.GetVerbose() {
  		res.Info = imageInspect.Config.Labels
  	}
  	return &res, nil
  }
docs: // ImageStatus returns the status of the image, returns nil if the image doesn't present.