Registers given notification.

        :param notification: Notification to register.
        :type notification: Notification
        :return: Method success.
        :rtype: bool

def register_notification(self, notification):
        """
        Registers given notification.

        :param notification: Notification to register.
        :type notification: Notification
        :return: Method success.
        :rtype: bool
        """

        LOGGER.debug("> Registering notification: '{0}'.".format(notification))

        self.__notifications.append(notification)
        self.notification_registered.emit(notification)
        return True