Doesn't jQuery have some helper visibility predicates?