<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def maybe_colored(msg, color, opt):
 """Maybe it will render in color maybe it will not!"""

    if opt.monochrome:
        return msg

    return colored(msg, color)