code: func (n *HTTPNode) SetState(state NodeState) bool {
  	if n.State == state {
  		return false
  	}
  	n.State = state
  	now := time.Now()
  	n.Updated = now
  	n.StateChange = now
  	n.readyStateGCHandler()
  	return true
  }
docs: // SetState sets the state of the node and returns whether the state changed