code: func (le *leaderElectionSvcImpl) IsLeader() bool {
  	isLeader := atomic.LoadInt32(&le.isLeader) == int32(1)
  	le.logger.Debug(le.id, ": Returning", isLeader)
  	return isLeader
  }
docs: // IsLeader returns whether this peer is a leader