code: func (n *HTTPNode) SetPrimary(primary bool) bool {
  	if n.Primary == primary {
  		return false
  	}
  	now := time.Now()
  	n.Primary = primary
  	n.Updated = now
  	n.PrimaryChange = now
  	return true
  }
docs: // SetPrimary sets the primary state of the node and returns whether it changed