def format_color(text, color, use_color_setting):
if not use_color_setting:<EOL><INDENT>return text<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>'.format(color, text, NORMAL)<EOL><DEDENT>
Format text with color.

    Args:
        text - Text to be formatted with color if `use_color`
        color - The color start string
        use_color_setting - Whether or not to color