Define and expose an `is_global` inline function …
This is a quick way to check if an object's class has the JSCLASS_IS_GLOBAL flag set.