|Topic was automatically imported from the old Question2Answer platform.
In the previous version I used this:
if foo is get_script():
to check if an object was another instance of the script.
Now it gives an error: “right operand is not a type (not a native type nor a script)”.