code: func (t *Topology) removeID(nodeID string) bool {
  	t.mu.Lock()
  	defer t.mu.Unlock()
  
  	i := t.positionByID(nodeID)
  	if i < 0 {
  		return false
  	}
  
  	copy(t.nodeIDs[i:], t.nodeIDs[i+1:])
  	t.nodeIDs[len(t.nodeIDs)-1] = ""
  	t.nodeIDs = t.nodeIDs[:len(t.nodeIDs)-1]
  
  	return true
  }
docs: // removeID removes the node ID from the topology and returns true if removed.