Something like parser for condion on value existing . With smary-like syntax :
{if condition_tag} Some text will be seen if condition_tag is true{/if}