I could use EXISTS() and ISNULL(), but shorter expression like following works fine for EXISTS():
if (${varname})
{
do something;
};
and I like it better than having complicating
if (${EXISTS(${varname})})
what would be equivalent for ISNULL()?
if ([color=red]![/color]${varname})
{
do something;
};