docs: public static boolean shouldRenderChildren(UIComponent component) {
          for (int i = 0; i < component.getChildren().size(); i++) {
              if (component.getChildren().get(i).isRendered()) {
                  return true;
              }
          }
  
          return false;
      }