Appears so! http://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash