code: def _add_boolean_cli_param(params, key, value):
      '''
      Adds key as a command line parameter to params.
      '''
      if value is True:
          params.append('--{0}'.format(key)f _add_boolean_cli_param(params, key, value):
      '''
      Adds key as a command line parameter to params.
      '''
      if value is True:
          params.append('--{0}'.format(key))
docs: Adds key as a command line parameter to params.