Not that I know of.Vars are blank by default so you could probably do if(%var != "") to check if the var is not blank.
Mmkay.