<%def name="item_status(state)"> % if state: % else: % endif