public static boolean isRendered(FacesContext facesContext,
            UIComponent uiComponent)
    {
        // We must call pushComponentToEL here because ValueExpression may have 
        // implicit object "component" used. 
        try
        {
            uiComponent.pushComponentToEL(facesContext, uiComponent);
            return uiComponent.isRendered();
        }
        finally
        {
            uiComponent.popComponentFromEL(facesContext);
        }
    }
public static boolean isRendered ( FacesContext facesContext , UIComponent uiComponent ) { try { uiComponent . pushComponentToEL ( facesContext , uiComponent ) ; return uiComponent . isRendered ( ) ; } finally { uiComponent . popComponentFromEL ( facesContext ) ; } }
Call {@link #pushComponentToEL(javax.faces.context.FacesContext,javax.faces.component.UIComponent)},
reads the isRendered property, call {@link
UIComponent#popComponentFromEL} and returns the value of isRendered.