code: func (sp *serverPeer) relayTxDisabled() bool {
  	sp.relayMtx.Lock()
  	isDisabled := sp.disableRelayTx
  	sp.relayMtx.Unlock()
  
  	return isDisabled
  }
docs: // relayTxDisabled returns whether or not relaying of transactions for the given
  // peer is disabled.
  // It is safe for concurrent access.