Let's assume I have multiple renderings on a page, which are nested within each other- think "outer wrapper", with a "two column" inside, with a "button" inside of that. If I remove a parent rendering (like "outer wrapper"), all child renderings disappear visually. These renderings are still within presentation details, though.
When looping the renderings from within presentation details, how can I detect if a particular rendering (like the button above) is going to be visible on the screen vs. being orphaned off?