code: def _is_checked_function(item):
      if not inspect.isfunction(item):
          return False
  
      if item.__name__.startswith("_"):
          return False
  
      mod = item.__module__
      if not mod.startswith("sklearn.") or mod.endswith(
          "estimator_checks"
      ):
          return False
  
      return True
  
file_path: catboost/contrib/python/scikit-learn/py3/sklearn/utils/discovery.py
imports: import inspect
  import pkgutil
  from importlib import import_module
  from operator import itemgetter
  from pathlib import Path
label_desc: Use image node_id 3 for calling a global function with example usage: _is_checked_function(item) and returns: True, False, False, False