def METHOD_NAME(project, newproject):
    newproject.load()
    loaded_project = project.load(newproject._path, "NewProject", raise_if_loaded=False)
    assert loaded_project is newproject
    newproject.load(raise_if_loaded=False)