sregistry/logger/message.py
def useColor(self):
        '''useColor will determine if color should be added
        to a print. Will check if being run in a terminal, and
        if has support for asci'''
        COLORIZE = get_user_color_preference()
        if COLORIZE is not None:
            return COLORIZE
        streams = [self.errorStream, self.outputStream]
        for stream in streams:
            if not hasattr(stream, 'isatty'):
                return False
            if not stream.isatty():
                return False
        return True
def useColor(self):
        '''useColor will determine if color should be added
        to a print. Will check if being run in a terminal, and
        if has support for asci'''
        COLORIZE = get_user_color_preference()
        if COLORIZE is not None:
            return COLORIZE
        streams = [self.errorStream, self.outputStream]
        for stream in streams:
            if not hasattr(stream, 'isatty'):
                return False
            if not stream.isatty():
                return False
        return True
def useColor ( self ) : COLORIZE = get_user_color_preference ( ) if COLORIZE is not None : return COLORIZE streams = [ self . errorStream , self . outputStream ] for stream in streams : if not hasattr ( stream , 'isatty' ) : return False if not stream . isatty ( ) : return False return True
useColor will determine if color should be added
        to a print. Will check if being run in a terminal, and
        if has support for asci
useColor will determine if color should be added to a print . Will check if being run in a terminal and if has support for asci