I've never had a case where I didn't know the reason or mechanism by which an element would be hidden. In my code, I use the `hidden` property. In that case it simplifies from
$(el).is(':hidden')
to
el.hidden
It's not quite as succint as your jquery, but you also could have written this.