code: def israw(self, **kwargs):
          
  
          if self.raw is None:
              self.raw = self.stdout.isatty() and self.is_process_tty()
  
          return self.raw
docs: Returns True if the PTY should operate in raw mode.
  
          If the exec was not started with tty=True, this will return False.