code: func (imageManager *dockerImageManager) getImageState(containerImageID string) (*image.ImageState, bool) {
  	for _, imageState := range imageManager.getAllImageStates() {
  		if imageState.Image.ImageID == containerImageID {
  			return imageState, true
  		}
  	}
  	return nil, false
  }
docs: // getImageState returns the ImageState object that the container is referenced at