how do I use a if statement on custom press

Hi, how do I add an if statement to my template file?

example, here is my code to add to my theme:

<?php echo do_shortcode('[ct id="_ct_text_56a24bea86e92" property="title | description | value"]'); ?>

…. I want nothing to show when the field is not filled in.