def supported(cls, stream=sys.stdout):
        if not stream.isatty():
            return False # auto color only on TTYs
        try:
            import curses
        except ImportError:
            return False
        else:
            try:
                try:
                    return curses.tigetnum("colors") > 2
                except curses.error:
                    curses.setupterm()
                    return curses.tigetnum("colors") > 2
            except:
                # guess false in case of error
                return False
Retrieve a quotes by a list of symbols.
dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/_AnsiColorizer.supported--crossover with--dataset/ETHPy150Open fxdemolisher/frano/frano/quotes/models.py/quotes_by_symbols