class_docstr: Wraps a stream (such as stdout), acting as a transparent proxy for all
  attribute access apart from method 'write()', which is delegated to our
  Converter instance.
code: def isatty(self):
      stream = self.__wrapped
      if "PYCHARM_HOSTED" in os.environ:
          if stream is not None and (
              stream is sys.__stdout__ or stream is sys.__stderr__
          ):
              return True
      try:
          stream_isatty = stream.isatty
      except AttributeError:
          return False
      else:
          return stream_isatty()
  
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 8 for calling the StreamWrapper obj's underlying member method code with example usage: obj.isatty() and returns: stream_isatty, True, False