code: public static boolean isRealHidden(Widget widget) {
          if (widget == null || !widget.isAttached()) return true;
          Element elt = widget.getElement();
          return !UIObject.isVisible(elt) || Mobile.isHidden(elt);
      }
docs: Expensive, based on jQuery, realistic visibility check.