if [ -z "$variable" ]; then echo "$variable is null"; else echo "$variable is not null"; fi
if [ -z "$var" ] #return true if $var is unset