defined
Syntax:
%defined(s)
returns true of s is a defined alias, variable, macro, or path.
Example:
#VAR a {}
#VAR b { }
#UNVAR c
#SHOW a:%defined(a) b:%defined(b) c:%defined(c)
displays:
a:1 b:1 c:0