This seems like it should be fairly easy - but I can't find the right selector for it

According to the docs (<http://api.jquery.com/hidden-selector/> and <http://api.jquery.com/visible-selector/>)...

Elements can be considered hidden for several reasons:

**An ancestor element is hidden, so the element is not shown on the page.**

What I want to detect is "this element is visible, but is contained in a hidden parent". Ie, if I made the parent visible, this element would also be visible.