var GObject = imports.gi.GObject;
var match = GObject.type_from_name(ar.join(''));
//print([match, ct]);
- print ("matching?" + (GObject.type_is_a(match, ct ) ? "YES" : "NO"));
+ //print ("matching?" + (GObject.type_is_a(match, ct ) ? "YES" : "NO"));
- return true;
+ return (GObject.type_is_a(match, ct ) ? true : false;
}