parameters: (self, on=True)
return_statement: return ''
docstring: Enable or disable bold depending on the "on" parameter.
docstring_summary: Enable or disable bold depending on the "on" parameter.
docstring_tokens: Enable or disable bold depending on the on parameter .
function: def bold(self, on=True):
          '''Enable or disable bold depending on the "on" parameter.'''
          if self.enabled:
              if on:
                  return "\x1b[1m"
              else:
                  return "\x1b[22m"
          return ''
function_tokens: def bold ( self , on = True ) : if self . enabled : if on : return "\x1b[1m" else : return "\x1b[22m" return ''