Check if the environment variable is set

This is specially useful for dashboards as they can
set it to whatever is required