code: def test_cleanup_workspace_after_session_end(host, port):
      # Arrange
      remote_session = rpc.connect(host, port)
      target = tvm.target.Target(
          target=f"llvm -mtriple={ARCH}-apple-darwin"
      )
      lib = get_add_module(target)
      path_dso = export_lib(lib)
      remote_session.upload(path_dso)
  
      # Act
      del remote_session
      remote_session = rpc.connect(host, port)
      try:
          remote_session.download(DSO_NAME)
          status_ok = False
      except Exception as _:  # pylint: disable=broad-except
          status_ok = True
  
      # Assert
      assert (
          status_ok
      ), "Workspace not cleared after RPC Session termination."
  
imports: import multiprocessing
  import pytest
  import numpy
  import tvm.testing
  import tvm.relay.testing
  from tvm import te
  from tvm import rpc
  from tvm import relay, auto_scheduler
  from tvm.contrib import utils, xcode, graph_executor
  from tvm.autotvm.measure import request_remote
  from tvm.auto_scheduler.measure_record import load_records
  from tvm.auto_scheduler.measure import MeasureErrorNo
  from tvm.auto_scheduler.utils import call_func_with_timeout
  from tvm.contrib.popen_pool import PopenWorker, StatusKind
  from tvm.rpc import tracker, proxy, server_ios_launcher
label_desc: Use image node_id 21 for calling a global function with example usage: test_cleanup_workspace_after_session_end(host, port) without return types