check if a local variable 'myVar' exists,"if ('myVar' in locals()):