programmatically check if env exist or not python code example
Example: python check environment variable exists
from os import environ
if environ.get('Foo') is not None:
from os import environ
if environ.get('Foo') is not None: