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