def METHOD_NAME():
    for name, submodule in self._submodules:
        if not hasattr(submodule, "finalize"):
            continue
        if submodule.finalized:
            continue
        submodule.finalize(*args, **kwargs)