I'm probably thinking about this the wrong way, but I have two blocks and one is the child of the other. In the parent's template file, I'm calling getChildHtml() and rendering the child block that way.
However, before rendering the child block, I'd like to be able to check first if a certain condition is true for the child block. Is there a way for it to return false/true, and for the parent block to check that?
(Answer would preferably be particular to the above scenario rather than suggesting a completely different approach, though I'm always happy to hear thoughts)