def ensure_collections_are_empty(append_assertion_data):
    """Ensure collections have no items.

    Parameters
    ==========
    append_assertion_data (callable)
        Used to store the results of assertions.
    """
    ### confirm no text box exists

    ## grab the text blocks
    text_blocks = APP_REFS.gm.text_blocks

    ## 01 item in APP_REFS.gm.text_blocks

    append_assertion_data(

        (
            "There must be no object in APP_REFS.gm.text_blocks",
            len(text_blocks) == 0,
        )

    )

    ### confirm no nodes exist

    ## grab the nodes iterable
    nodes = APP_REFS.gm.nodes

    ## the "nodes" iterable must contain no items

    append_assertion_data(

        (
            "There must be no items in APP_REFS.gm.nodes",
            len(nodes) == 0,
        )

    )
Ensure collections have no items.

    Parameters
    ==========
    append_assertion_data (callable)
        Used to store the results of assertions.
    
nodezator/systemtesting/testcases/stc0000.py