static bool isWidgetExists(Map<String, dynamic> json) { return SamIotWidgets.instance.collection .any((w) => w.id == json['model'].toString()); }