code: func (p *Peer) Services() wire.ServiceFlag {
  	p.flagsMtx.Lock()
  	services := p.services
  	p.flagsMtx.Unlock()
  
  	return services
  }
docs: // Services returns the services flag of the remote peer.
  //
  // This function is safe for concurrent access.