code: func (s *State) SetRemovalInProgress() bool {
  	s.Lock()
  	defer s.Unlock()
  	if s.RemovalInProgress {
  		return true
  	}
  	s.RemovalInProgress = true
  	return false
  }
docs: // SetRemovalInProgress sets the container state as being removed.
  // It returns true if the container was already in that state.