Conditional logic: show/hide based on content of another module

Where this comes up especially is when people want to hide/show based on whether a posts module has posts or not