Views template- how can I still use "hide if empty" behavior with my custom template? I want to customize the output of a field on my site so I made a custom views template.  Here's the code:

&lt;?php foreach ($row-&gt;field_field_location_taxonomize_terms as $data): ?&gt;

  &lt;?php if ($data['rendered']['#markup'] == 'Unknown'): ?&gt;
  &lt;?php elseif ($data['rendered']['#markup'] == 'United States of America (USA)'): ?&gt;
    &lt;?php print 'USA'; ?&gt; 
  &lt;?php elseif ($data['rendered']['#markup'] == 'United Kingdom (UK)'): ?&gt;
    &lt;?php print 'UK'; ?&gt; 
  &lt;?php else: ?&gt;
    &lt;?php print $data['rendered']['#markup']; ?&gt; 
  &lt;?php endif; ?&gt;

&lt;?php endforeach; ?&gt;


As far as editing the output, this works fine.  However, if the field is empty, the Label (set in views) for the field will still be printed, even though I have Hide if empty checked under No Results Behavior.  If I remove my custom template, then the label is hidden when there is no value, so there must be something wrong with my template.  Any ideas?
Quick and dirty, how about turning the label for this field off in Views and add something like:

&lt;?php if (!empty($row-&gt;field_field_location_taxonomize_terms)): ?&gt;
  &lt;div&gt;Label:&lt;/div&gt;
&lt;?php endif; ?&gt;


at the top of this template?  (Changing up the HTML around Label: to match your system and t()'ing it, etc)