@staticmethod
    def is_enabled():
        return hasattr(sys.stderr, '_original_stream') or hasattr(sys.stdout, '_original_stream')
Return True if either stderr or stdout has colors enabled.
dataset/ETHPy150Open Robpol86/colorclass/colorclass/windows.py/Windows.is_enabled