<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_notification(self, notification):
 """Add a notification into actions list :param notification: notification to add :type notification: alignak.notification.Notification :return: None """

        if notification.uuid in self.actions:
            logger.warning("Already existing notification: %s", notification)
            return

        logger.debug("Adding a notification: %s", notification)
        self.actions[notification.uuid] = notification
        self.nb_notifications += 1

        # A notification which is not a master one asks for a brok
        if notification.contact is not None:
            self.add(notification.get_initial_status_brok())