code: def _search_scope(scope, obj_name):
      for s in chain(scope.iter_classdefs(), scope.iter_funcdefs()):
          if s.name.value == obj_name:
              return s
  
file_path: catboost/contrib/python/jedi/py2/jedi/evaluate/compiled/fake.py
imports: import sys
  import os
  from itertools import chain
  import __res
  from jedi._compatibility import unicode
label_desc: Use image node_id 3 for calling a global function with example usage: _search_scope(scope, obj_name) and returns: s