This implements a way to check if rsyslog variables (e.g. '$!path!var') is currently set of not. Sample: if exists($!somevar) then ... closes https://github.com/rsyslog/rsyslog/issues/4385