class_docstr: Implements a 'write()' method which, on Windows, will strip ANSI character
  sequences from the text, and if outputting to a tty, will convert them into
  win32 function calls.
docstr: True if this class is actually needed. If false, then the output
  stream will not be affected, nor will win32 calls be issued, so
  wrapping stdout is not actually required. This will generally be
  False on non-Windows platforms, unless optional functionality like
  autoreset has been requested using kwargs to init()
docstr_tok: ["True","if","this","class","is","actually","needed",".","If","false",",","then","the","output","stream","will","not","be","affected",",","nor","will","win32","calls","be","issued",",","so","wrapping","stdout","is","not","actually","required",".","This","will","generally","be","False","on","non-Windows","platforms",",","unless","optional","functionality","like","autoreset","has","been","requested","using","kwargs","to","init","(",")"]
code: def should_wrap(self):
      """
      True if this class is actually needed. If false, then the output
      stream will not be affected, nor will win32 calls be issued, so
      wrapping stdout is not actually required. This will generally be
      False on non-Windows platforms, unless optional functionality like
      autoreset has been requested using kwargs to init()
      """
      return self.convert or self.strip or self.autoreset
  
imports: import re
  import sys
  import os
  from .ansi import AnsiFore, AnsiBack, AnsiStyle, Style, BEL
  from .winterm import enable_vt_processing, WinTerm, WinColor, WinStyle
  from .win32 import windll, winapi_test
label_desc: Use image node_id 2 for calling the AnsiToWin32 obj's underlying member method code with example usage: obj.should_wrap() and returns: unknown