code: def complete_install_wizard(
      output: Union[Dict[str, Dependency], NBOutput],
  ) -> Union[Dict[str, Dependency], NBOutput]:
      flipped = arg_cache["install_wizard_complete"]
      if not flipped:
          for _, v in steps.items():
              if v is False:
                  return output
      arg_cache["install_wizard_complete"] = True
      if isinstance(output, NBOutput):
          if flipped != arg_cache["install_wizard_complete"]:
              output.raw_output += (
                  "\n\n✅ You have completed the Install Wizard"
              )
      return output
  
file_path: PySyft/packages/hagrid/hagrid/wizard_ui.py
imports: from typing import Dict
  from typing import Union
  from .cache import arg_cache
  from .deps import Dependency
  from .deps import check_grid_docker
  from .deps import check_hagrid
  from .deps import check_syft
  from .deps import check_syft_deps
  from .nb_output import NBOutput
label_desc: Use image node_id 1 for calling a global function with example usage: complete_install_wizard(output) and returns: output, output