<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_option(self, section, option, value):
 """ Sets an option to a value in the given section. Option is created if it does not already exist """

        if self.config.has_section(section):
            self.config.set(section, option, value)
            return (True, self.config.options(section))
        return (False, 'Section: ' + section + ' does not exist')