parameters: (self)
return_statement: return os.isatty(self._fd)
docstring: True if the file is connected to a TTY device.
docstring_summary: True if the file is connected to a TTY device.
docstring_tokens: True if the file is connected to a TTY device .
function: def isatty(self):
          """True if the file is connected to a TTY device."""
          self._checkClosed()
          return os.isatty(self._fd)
function_tokens: def isatty ( self ) : self . _checkClosed ( ) return os . isatty ( self . _fd )