% if blocks.get('children'): % endif