def is_fancy_terminal():
    return sys.stdout.isatty() and os.name != 'nt'
The Windows terminal does not support most of the fancy things we want
dataset/ETHPy150Open buildinspace/peru/peru/compat.py/is_fancy_terminal