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.j
jQuery has this all built-in nowdays
$("#child").closest(':hidden').length == 0