code: def isatty(self):
      # https://bitbucket.org/pypy/pypy/issue/1803
      return self._stream.isatty()
  
imports: import codecs
  import io
  import os
  import re
  import sys
  from weakref import WeakKeyDictionary
label_desc: Use image node_id 3 for calling the _NonClosingTextIOWrapper obj's underlying member method code with example usage: obj.isatty() and returns: self