code: def _check_append_ext_library(libraries, lib_name, build_info):
      for item in libraries:
          if is_sequence(item):
              if item[0] == lib_name:
                  if item[1] is build_info:
                      return
                  warnings.warn(
                      "[3] libraries list contains %r with"
                      " different build_info" % (lib_name,),
                      stacklevel=2,
                  )
                  break
          elif item == lib_name:
              warnings.warn(
                  "[4] libraries list contains %r with"
                  " no build_info" % (lib_name,),
                  stacklevel=2,
              )
              break
      libraries.append((lib_name, build_info))
  
file_path: catboost/contrib/python/numpy/py2/numpy/distutils/core.py
imports: from __future__ import division, absolute_import, print_function
  import sys
  from distutils.core import *
  import warnings
  import distutils.core
  import distutils.dist
  from numpy.distutils.extension import Extension
  from numpy.distutils.numpy_distribution import NumpyDistribution
  from numpy.distutils.command import config, config_compiler, build, build_py, build_ext, build_clib, build_src, build_scripts, sdist, install_data, install_headers, install, bdist_rpm, install_clib
  from numpy.distutils.misc_util import get_data_files, is_sequence, is_string
label_desc: Use image node_id 6 for calling a global function with example usage: _check_append_ext_library(libraries, lib_name, build_info) without return types