def is_fancy_terminal():
    return sys.stdout.isatty() and os.name != 'nt'
Should return a computed value to be used in render().
dataset/ETHPy150Open buildinspace/peru/peru/compat.py/is_fancy_terminal--crossover with--dataset/ETHPy150Open idlesign/django-sitetree/sitetree/templatetags/sitetree.py/SimpleNode.get_value