Added support for checking if a variable has a value