code: func (w *wrapper) IgnoredDevice(id protocol.DeviceID) bool {
  	w.mut.Lock()
  	defer w.mut.Unlock()
  	for _, device := range w.cfg.IgnoredDevices {
  		if device.ID == id {
  			return true
  		}
  	}
  	return false
  }
docs: // IgnoredDevice returns whether or not connection attempts from the given
  // device should be silently ignored.