def __init__(self, termcolor=None):
if termcolor is None:<EOL><INDENT>self.termcolor = sys.stdout.isatty()<EOL><DEDENT>else:<EOL><INDENT>self.termcolor = termcolor<EOL><DEDENT>
termcolor - If None, attempt to autodetect whether we are in a terminal
    and turn on terminal colors if we think we are.  If True, force
    terminal colors on.  If False, force terminal colors off.