code: def is_resource(package, name):
      try:
          read_binary(package, name)
          return True
      except (FileNotFoundError, OSError, IOError):
          return False
  
file_path: catboost/contrib/python/importlib-resources/importlib_resources/__init__.py
imports: import io
  import pkgutil
  from contextlib import contextmanager
label_desc: Use image node_id 5 for calling a global function with example usage: is_resource(package, name) and returns: True, False