code: func First(peerPool []discovery.NetworkMember, filter RoutingFilter) *comm.RemotePeer {
  	for _, p := range peerPool {
  		if filter(p) {
  			return &comm.RemotePeer{PKIID: p.PKIid, Endpoint: p.PreferredEndpoint()}
  		}
  	}
  	return nil
  }
docs: // First returns the first peer that matches the given filter