code: def _executable_exists(name):
      return (
          subprocess.call(
              [WHICH_CMD, name],
              stdout=subprocess.PIPE,
              stderr=subprocess.PIPE,
          )
          == 0
      )
  
imports: import contextlib
  import ctypes
  from ctypes import c_size_t, c_wchar, c_wchar_p, get_errno, sizeof
  import os
  import platform
  from shutil import which
  import subprocess
  import time
  import warnings
  from pandas.errors import PyperclipException, PyperclipWindowsException
  from pandas.util._exceptions import find_stack_level
label_desc: Use image node_id 1 for calling a global function with example usage: _executable_exists(name) and returns: unknown