code: func (s *ChainService) IsBanned(addr string) bool {
  	replyChan := make(chan bool, 1)
  
  	select {
  	case s.query <- banQueryMsg{
  		addr:  addr,
  		reply: replyChan,
  	}:
  		return <-replyChan
  	case <-s.quit:
  		return false
  	}
  }
docs: // IsBanned retursn true if the peer is banned, and false otherwise.