If no input don’t display?

<?php $bath=get_post_meta($post->ID, 'wtf_bath', true); 
if(!empty($bath) ) { ?>

<div class="propslist"><span>Băi - </span> <span class="propval"> <?php  echo $bath; ?></span></div>

<?php } ?>

Do something like this for each div !.. only display div if the data to be displayed in div is not empty !