Formats given notification.

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

def format_notification(self, notification):
        """
        Formats given notification.

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

        return "{0} | '{1}'".format(time.ctime(notification.time), notification.message)