code: def _check_append_library(libraries, item):
      for libitem in libraries:
          if is_sequence(libitem):
              if is_sequence(item):
                  if item[0] == libitem[0]:
                      if item[1] is libitem[1]:
                          return
                      warnings.warn(
                          "[0] libraries list contains %r with"
                          " different build_info" % (item[0],),
                          stacklevel=2,
                      )
                      break
              else:
                  if item == libitem[0]:
                      warnings.warn(
                          "[1] libraries list contains %r with"
                          " no build_info" % (item[0],),
                          stacklevel=2,
                      )
                      break
          else:
              if is_sequence(item):
                  if item[0] == libitem:
                      warnings.warn(
                          "[2] libraries list contains %r with"
                          " no build_info" % (item[0],),
                          stacklevel=2,
                      )
                      break
              else:
                  if item == libitem:
                      return
      libraries.append(item)
  
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 5 for calling a global function with example usage: _check_append_library(libraries, item) without return types