Working more on empanada, looking at conditional evaluation through Django for inspiration https://github.com/django/django/blob/master/django/template/smartif.py