code: def _lexists(pathname, dir_fd):
      # Same as os.path.lexists(), but with dir_fd
      if dir_fd is None:
          return os.path.lexists(pathname)
      try:
          os.lstat(pathname, dir_fd=dir_fd)
      except (OSError, ValueError):
          return False
      else:
          return True
  
imports: import contextlib
  import os
  import re
  import fnmatch
  import itertools
  import stat
  import sys
label_desc: Use image node_id 12 for calling a global function with example usage: _lexists(pathname, dir_fd) and returns: os, True, False