check if a global variable 'myVar' exists,"if ('myVar' in globals()):