code: func (m *manager) setInternal(id kubecontainer.ContainerID, result Result) bool {
  	m.Lock()
  	defer m.Unlock()
  	prev, exists := m.cache[id]
  	if !exists || prev != result {
  		m.cache[id] = result
  		return true
  	}
  	return false
  }
docs: // Internal helper for locked portion of set. Returns whether an update should be sent.