<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_alignak_macros(self):
 """ Get the Alignak macros. :return: a dict containing the Alignak macros """

        macros = self.get_alignak_configuration(macros=True)

        sections = self._search_sections('pack.')
        for name, _ in list(sections.items()):
            section_macros = self.get_alignak_configuration(section=name, macros=True)
            macros.update(section_macros)
        return macros