code: func isMemoryGuaranteed(container *api.Container) bool {
  	// A container is memory guaranteed if its memory request == memory limit.
  	// If memory request == memory limit, the user is very confident of resource consumption.
  	memoryRequest := container.Resources.Requests.Memory()
  	memoryLimit := container.Resources.Limits.Memory()
  	return (*memoryRequest).Cmp(*memoryLimit) == 0 && memoryRequest.Value() != 0
  }
docs: // isMemoryGuaranteed returns true if the container's memory requirements are Guaranteed.