code: func (s *Server) getLeader() (bool, *metadata.Server) {
  	// Check if we are the leader
  	if s.IsLeader() {
  		return true, nil
  	}
  
  	// Get the leader
  	leader := s.raft.Leader()
  	if leader == "" {
  		return false, nil
  	}
  
  	// Lookup the server
  	server := s.serverLookup.Server(leader)
  
  	// Server could be nil
  	return false, server
  }
docs: // getLeader returns if the current node is the leader, and if not then it
  // returns the leader which is potentially nil if the cluster has not yet
  // elected a leader.