return std::find(devices.begin(), devices.end(), device) != devices.end();