is_trivial
is_trivial(node, theme=None):
Whether a node is not worth showing on its own: it says (almost) nothing a plain repr wouldn’t.
With theme (stub_hidden set, as a report does) an export-only array is not trivial: a renderer writes a stub
line for it (see hidden_stub).
A leaf is trivial if it is empty text, a hidden (export-only) array, or marked meta["trivial"] = True by
whatever made it (a bare number or string wrapped in a one-field record is marked so; a record that merely has
one field is not). Everything else (tables, arrays, images, scenes, plots, equations, code, html, …) is not. A container (section, readout, gallery, layout) is trivial unless at least one of its
children is not, so wrapping trivial content in more containers never makes it interesting.