defined
Syntax: %defined(s)
returns true if 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