Private
Check if a global variable exists. This shortcut function is needed for events code generation.
Check if a global variable exists. This shortcut function is needed for events code generation.