code: func (s *Store) State() ClusterState {
  	state := s.raft.State()
  	switch state {
  	case raft.Leader:
  		return Leader
  	case raft.Candidate:
  		return Candidate
  	case raft.Follower:
  		return Follower
  	case raft.Shutdown:
  		return Shutdown
  	default:
  		return Unknown
  	}
  }
docs: // State returns the current node's Raft state