code: def test_all_codegens_contain_pass_pipeline():
      for name in tvmc.composite_target.get_codegen_names():
          codegen = tvmc.composite_target.get_codegen_by_target(name)
          assert (
              "pass_pipeline" in codegen
          ), f"{name} does not contain a pass_pipeline"
          assert isfunction(codegen["pass_pipeline"])
  
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 4 for calling a global function with example usage: test_all_codegens_contain_pass_pipeline() without return types