Or just:
```
return dev.model.type != DeviceType.unknown
```