fails:IO#tty? returns true if this stream is a terminal device (TTY)
fails:IO#tty? returns false if this stream is not a terminal device (TTY)
fails:IO#tty? raises IOError on closed stream
