code: func (le *leaderElectionSvcImpl) isAlive(id peerID) bool {
  	for _, p := range le.adapter.Peers() {
  		if bytes.Equal(p.ID(), id) {
  			return true
  		}
  	}
  	return false
  }
docs: // isAlive returns whether peer of given id is considered alive