def _IsProcessRunnable(name):
  try:
    with open(os.devnull, 'w') as devnull:
      found = subprocess.call(['/usr/bin/which', name],
                              stdout=devnull, stderr=devnull) == 0
      return True
  except __HOLE__:
    return False
dataset/ETHPy150Open natduca/quickopen/src/find_based_db_indexer.py/_IsProcessRunnable