Just in case anybody comes across this post & wanted to hide an editable text web part if it was empty
{% (ViewMode != "LiveSite") || (CMSContext.CurrentDocument.editabletext != "") |(identity)GlobalAdministrator%}
Where editabletext would be what you have for yor web part control ID
Click the black arrow next to the Visible box in the web part, the macro dialog will open, add the macro there.