code: func (n *Node) IsStateDirty() (bool, error) {
  	n.RLock()
  	defer n.RUnlock()
  
  	if n.manager == nil {
  		return false, errors.New("node is not a manager")
  	}
  
  	return n.manager.IsStateDirty()
  }
docs: // IsStateDirty returns true if any objects have been added to raft which make
  // the state "dirty". Currently, the existence of any object other than the
  // default cluster or the local node implies a dirty state.