code: def print_package_version(package_name, indent="  "):
      """Print install status and version of a package."""
      try:
          dist = pkg_resources.get_distribution(package_name)
      except pkg_resources.DistributionNotFound:
          provenance_info = "not installed"
      else:
          provenance_info = (
              f"{dist.version} installed in {dist.location}"
          )
  
      print(f"{indent}{package_name}: {provenance_info}")
  
label_desc: Use image node_id 1 for calling a global function with example usage: print_package_version(package_name, indent) without return types