code: def verify_clean_imports(target: str, modules: list[str]) -> str:
      return f"""
  import sys
  for module in {modules!r}:
      __import__(module)
      if any(key.startswith({target!r}) for key in sys.modules.keys()):
          print(module)
          sys.exit(1)
  sys.exit(0)
  """
  
file_path: bokeh/tests/support/util/project.py
imports: from __future__ import annotations
  import logging
  from pathlib import Path
  from subprocess import run
  from typing import Sequence
label_desc: Use image node_id 3 for calling a global function with example usage: verify_clean_imports(target, modules) and returns: str, modules, str, target, str