pub fn document_is_boundary(document: &Value) -> boolExpand description
Whether a DOCUMENT hides its children behind its declared ports.
The explicit portBoundary flag decides when the document sets one. With no
flag it is derived: a document carrying a pcb block is a board, and a
board is a boundary by construction. Derivation alone could not mark a
non-PCB enclosure; a flag alone would have to be set on every board by hand,
which is exactly the case the user said holds “by construction”.