Is it possible to check if block has a content?

Notice: This thread is very old.
medhi
Generous Backer | 255
+
0
-

I need to check, if a block has a content. I know, I can check if a block exists (ifset #block), but if exists, it's crucial for me to know, if it has any content. Is it possible?

Robyer
Member | 74
+
0
-

Right now I use workaround:

{capture $block}{include #block}{/capture}
{if $block}...{/if}

But I'd like to know if there is better solution :-)