code: func isResourceGuaranteed(container *api.Container, resource api.ResourceName) bool {
  	// A container resource is guaranteed if its request == limit.
  	// If request == limit, the user is very confident of resource consumption.
  	req, hasReq := container.Resources.Requests[resource]
  	limit, hasLimit := container.Resources.Limits[resource]
  	if !hasReq || !hasLimit {
  		return false
  	}
  	return req.Cmp(limit) == 0 && req.Value() != 0
  }
docs: // isResourceGuaranteed returns true if the container's resource requirements are Guaranteed.