Given an object, obj, it is possible to determine if it is an
instance of a SIDL class or interface whose fully qualified name is
X.Y.Z as follows
import X.Y.Z
zobj = X.Y.Z.Z(obj)
Of course, the import is not needed if X.Y.Z has already been imported. If zobj is not equal to None, the cast was successful.