code: def test_all_pass_pipelines_are_functions():
      for name in tvmc.composite_target.get_codegen_names():
          codegen = tvmc.composite_target.get_codegen_by_target(name)
          assert isfunction(
              codegen["pass_pipeline"]
          ), f"pass_pipeline for {name} is not a function"
  
file_path: tvm/tests/python/driver/tvmc/test_composite_target.py
imports: import argparse
  import os
  import shutil
  from inspect import isfunction
  from os import path
  import pytest
  import tvm
  from tvm.driver import tvmc
  from tvm.driver.tvmc import TVMCException
label_desc: Use image node_id 5 for calling a global function with example usage: test_all_pass_pipelines_are_functions() without return types