How to hide or remove a custom widget area when empty

How to hide or remove a custom widget area when empty