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


        if foundations.namespace.remove_namespace(attribute, root_only=True) in self.get_attributes(section,
                                                                                                    strip_namespaces=True):
            LOGGER.debug("> '{0}' attribute exists in '{1}' section.".format(attribute, section))
            return True
        else:
            LOGGER.debug("> '{0}' attribute doesn't exists in '{1}' section.".format(attribute, section))
            return False