PHP Code:
<?php $slides = array('gall1', 'gall2', 'gall3', 'gall4'); ?>
<ul class="slides">
<?php foreach ($slides as $slide) { ?>
<?php if (!empty(return_special_field($slide))) { ?>
<li>
<?php get_special_field_image($slide, 'Belle Decor', '770', '302'); ?>
</li>
<?php } ?>
<?php } ?>
</ul>
The above takes the slide names as an array, then loops through each name, only outputting the <li> tags if the special field with that name isn't empty. You can add as many gallery names to the array as you want (assuming that the special field for it is filled).