func (l *PeerList) exists(hostPort string) (*peerScore, bool) {
	l.RLock()
	ps, ok := l.peersByHostPort[hostPort]
	l.RUnlock()

	return ps, ok
}
func (l *PeerList) exists(hostPort string) (*peerScore, bool) {
	l.RLock()
	ps, ok := l.peersByHostPort[hostPort]
	l.RUnlock()

	return ps, ok
}
func ( l * PeerList ) exists ( hostPort string ) ( * peerScore , bool ) { l . RLock ( ) ps , ok := l . peersByHostPort [ hostPort ] l . RUnlock ( ) return ps , ok }
// exists checks if a hostport exists in the peer list.
exists checks if a hostport exists in the peer list .