Verifique se a variável Env existe Python
if os.getenv("FOO") is not None:
// var exists
Mardax
if os.getenv("FOO") is not None:
// var exists