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