code: func (cgroup *CgroupResource) DesiredTerminal() bool {
  	cgroup.lock.RLock()
  	defer cgroup.lock.RUnlock()
  
  	return cgroup.desiredStatusUnsafe == resourcestatus.ResourceStatus(CgroupRemoved)
  }
docs: // DesiredTerminal returns true if the cgroup's desired status is REMOVED