code: def _check_class(klass, attr):
      for entry in _static_getmro(klass):
          if _shadowed_dict(type(entry)) is _sentinel:
              try:
                  return entry.__dict__[attr]
              except KeyError:
                  pass
      return _sentinel
  
file_path: catboost/contrib/python/jedi/py3/jedi/evaluate/compiled/getattr_static.py
imports: import types
  from jedi._compatibility import py_version
label_desc: Use image node_id 2 for calling a global function with example usage: _check_class(klass, attr) and returns: _sentinel, entry