hasSomethingToDisplay static method
Returns true if there are elements to display for that panel.
Implementation
static bool hasSomethingToDisplay(
Product product,
String panelId,
) {
final KnowledgePanel panel = KnowledgePanelsBuilder.getKnowledgePanel(
product,
panelId,
)!;
return panel.hasSomethingToDisplay(product);
}