Se a variável Env existe Bash
if [[ -z "${VAR}" ]]; then
echo "hello"
fi
Graceful Grivet
if [[ -z "${VAR}" ]]; then
echo "hello"
fi