static bool isVendorSuitable(IotWidget parent, String model) { return parent.compatibleModels.any((compatibleModel) { return model == compatibleModel; }); }