code: def is_tvm_backendallocworkspace_calls(
      mod: tvm.runtime.module,
  ) -> bool:
      """TVMBackendAllocWorkspace call check.
  
      This checker checks whether any c-source produced has TVMBackendAllocWorkspace calls.
      If USMP is invoked, none of them should have TVMBAW calls
      """
      dso_modules = mod._collect_dso_modules()
      for dso_mod in dso_modules:
          if dso_mod.type_key not in ["c", "llvm"]:
              assert (
                  False
              ), 'Current AoT codegen flow should only produce type "c" or "llvm" runtime modules'
  
          source = dso_mod.get_source()
          if source.count("TVMBackendAllocWorkspace") != 0:
              return True
  
      return False
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_tvm_backendallocworkspace_calls(mod) and returns: False, True