If the Lua value arg represents a Qt object or variant,
expression qt.isa(arg,typename) returns a boolean indicating
whether the Qt data is a subclass of type typename,
as if arg:isa(typename) had been called.
Otherwise it simply returns nil.