io.BufferedIOBase.isatty

BufferedIOBase.isatty()

Return whether this is an ‘interactive’ stream.

Return False if it can’t be determined.