code: def verify_tvmc_package(tvmc_package, dumps_path, use_vm=False):
      # check for output types
      assert type(tvmc_package) is TVMCPackage
      assert os.path.exists(dumps_path)
      assert type(tvmc_package.lib_path) is str
  
      if use_vm:
          assert tvmc_package.graph is None
          assert tvmc_package.params is None
      else:
          assert type(tvmc_package.graph) is str
          assert type(tvmc_package.params) is bytearray
  
imports: import os
  import re
  import numpy
  import shutil
  import tarfile
  from os import path
  from unittest import mock
  import pytest
  import tvm
  from tvm.ir.memory_pools import WorkspacePoolInfo, WorkspaceMemoryPools
  from tvm.target import Target
  import tvm.testing
  from tvm.relay.op.contrib.ethosn import ethosn_available
  from tvm.relay.backend import Runtime, Executor
  from tvm import relay
  from tvm.contrib.target.vitis_ai import vitis_ai_available
  from tvm.driver import tvmc
  from tvm.driver.tvmc.model import TVMCPackage
  from tvm.contrib import utils
label_desc: Use image node_id 5 for calling a global function with example usage: verify_tvmc_package(tvmc_package, dumps_path, use_vm) without return types