code: def enable_vt_processing(fd):
      if win32.windll is None or not win32.winapi_test():
          return False
  
      try:
          handle = get_osfhandle(fd)
          mode = win32.GetConsoleMode(handle)
          win32.SetConsoleMode(
              handle,
              mode | win32.ENABLE_VIRTUAL_TERMINAL_PROCESSING,
          )
  
          mode = win32.GetConsoleMode(handle)
          if mode & win32.ENABLE_VIRTUAL_TERMINAL_PROCESSING:
              return True
      # Can get TypeError in testsuite where 'fd' is a Mock()
      except (OSError, TypeError):
          return False
  
imports: from .None import win32
label_desc: Use image node_id 1 for calling a global function with example usage: enable_vt_processing(fd) and returns: False, True, False