Whether at least one command is available for device.
device
bool hasCommandsFor(Device? device) => commands.any((command) => command.matches(device));