def perform_final_assertions(append_assertion_data):
    """Confirm no objects remain on the loaded file.

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

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

    ## no items in APP_REFS.gm.text_blocks

    append_assertion_data(
        (
            "There must be no objects 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,
        )
    )
Confirm no objects remain on the loaded file.

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