feature: added a custom test in Jinja to test if a variable is a widget.