Check if env variable is set

See here.