Check if a node ID represents a widget class.
static bool isWidgetClassNodeId(String nodeId) => _widgetClass.matches(nodeId);