<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def section_exists(self, section):
 """ Checks if given section exists. Usage:: "[Section B]\\n", "Attribute 2 = \\"Value B\\"\\n"] <foundations.parsers.SectionsFileParser object at 0x845683844> True False :param section: Section to check existence. :type section: unicode :return: Section existence. :rtype: bool """


        if section in self.__sections:
            LOGGER.debug("> '{0}' section exists in '{1}'.".format(section, self))
            return True
        else:
            LOGGER.debug("> '{0}' section doesn't exists in '{1}'.".format(section, self))
            return False