<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def color(self):
 """ Whether or not color should be output """

        return self.tty_stream if self.options.color is None \
            else self.options.color