Simplify Dom.isAttached