code: def _any_X(srcs, cls):
      for src in srcs:
          name, ext = os.path.splitext(src)
          key = ext.lower()
          if key in extension_mapping:
              if extension_mapping[key][0] == cls:
                  return True
      return False
  
imports: import glob
  import os
  import shutil
  import subprocess
  import sys
  import tempfile
  import warnings
  from sysconfig import get_config_var, get_config_vars, get_path
  from .runners import CCompilerRunner, CppCompilerRunner, FortranCompilerRunner
  from .util import get_abspath, make_dirs, copy, Glob, ArbitraryDepthGlob, glob_at_depth, import_module_from_file, pyx_is_cplus, sha256_of_string, sha256_of_file, CompileError
label_desc: Use image node_id 8 for calling a global function with example usage: _any_X(srcs, cls) and returns: False, True