Check isatty existence on sys.stdout