how to check if given variable exist in jinja2 template?,"""""""{{ x.foo }}"""""""