code: def _have_cython():
      """
      Return True if Cython can be imported.
      """
      cython_impl = "Cython.Distutils.build_ext"
      try:
          # from (cython_impl) import build_ext
          __import__(cython_impl, fromlist=["build_ext"]).build_ext
          return True
      except Exception:
          pass
      return False
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/extension.py
imports: import re
  import functools
  import distutils.core
  import distutils.errors
  import distutils.extension
  from .monkey import get_unpatched
label_desc: Use image node_id 1 for calling a global function with example usage: _have_cython() and returns: False, True