code: def exists(path, ignore=EnvironmentError):
      try:
          return path.check()
      except ignore:
          return False
  
file_path: catboost/contrib/python/pytest/py2/_pytest/config/findpaths.py
imports: import os
  import py
  from .exceptions import UsageError
  from _pytest.outcomes import fail
label_desc: Use image node_id 1 for calling a global function with example usage: exists(path, ignore) and returns: path, False