code: func (s folderDeviceSet) hasDevice(dev protocol.DeviceID) bool {
  	for _, devices := range s {
  		if _, ok := devices[dev]; ok {
  			return true
  		}
  	}
  	return false
  }
docs: // hasDevice returns true if the device is set on any folder