If statement involving "is not empty" in smarty template?
{capture assign=temp}{contact.supplemental_address_1}{/capture} {if $temp ne ""} {$temp}
{/if} 


is what I do. I got the idea from the source referenced above. You also need to ensure that smarty is turned on in civicrm.settings.php