code: def stage5(object_folder: Path, logger=_DEFAULT_LOGGER):
      target_path = object_folder / "kubric.tar.gz"
  
      if target_path.is_file():
          logger.debug(f'skipping stage5 on "{object_folder}"')
          return  # stage already completed; skipping
      logger.debug(f'stage5 running on "{object_folder}"')
  
      # --- dumps file into tar (pre-conditions auto-verified by exceptions)
      with tarfile.open(target_path, "w:gz") as tar:
          tar.add(
              object_folder / "kubric" / "visual_geometry.glb",
              arcname="visual_geometry.glb",
          )
          tar.add(
              object_folder / "kubric" / "collision_geometry.obj",
              arcname="collision_geometry.obj",
          )
          tar.add(
              object_folder / "kubric" / "model_watertight.obj",
              arcname="model_watertight.obj",
          )
          tar.add(
              object_folder / "kubric" / "object.urdf",
              arcname="object.urdf",
          )
          tar.add(
              object_folder / "kubric" / "data.json",
              arcname="data.json",
          )
  
      if not target_path.is_file():
          logger.error(
              f'stage5 post-condition failed, file does not exist "{target_path}"'
          )
  
imports: import argparse
  import json
  import logging
  from pathlib import Path
  import shutil
  import subprocess
  import sys
  import tarfile
  from typing import Tuple
  import trimesh
  from shapenet_synsets import CATEGORY_NAMES
  from trimesh_utils import get_object_properties
  import trimesh_utils
  from urdf_template import URDF_TEMPLATE
label_desc: Use image node_id 9 for calling a global function with example usage: stage5(object_folder, logger) without return types