for me, ```{% if establishment.property_id %}``` evaluates to ```True``` if ```property_id=0```.