Templating docs recommend testing for undefined/unset variables like this