There is a gotcha to be aware of here. Checking if a previously unused variable is empty returns false. That has caught me out a few times. I wonder why the answer is false. I think the engine interprets the variable as a string instead, in the same way that 'answer hello' without quotes around hello works.