parameters: (self, section, option, value)
docstring: Return True if option is added or changed to value, else False.
  
          Add section if required.  False means option already had value.
docstring_summary: Return True if option is added or changed to value, else False.
docstring_tokens: Return True if option is added or changed to value else False .
function: def SetOption(self, section, option, value):
          """Return True if option is added or changed to value, else False.
  
          Add section if required.  False means option already had value.
          """
          if self.has_option(section, option):
              if self.get(section, option) == value:
                  return False
              else:
                  self.set(section, option, value)
                  return True
          else:
              if not self.has_section(section):
                  self.add_section(section)
              self.set(section, option, value)
              return True
function_tokens: def SetOption ( self , section , option , value ) : if self . has_option ( section , option ) : if self . get ( section , option ) == value : return False else : self . set ( section , option , value ) return True else : if not self . has_section ( section ) : self . add_section ( section ) self . set ( section , option , value ) return True