code: def get_data_for_notifications(self, contact, notif, host_ref):
          
          if not host_ref:
              return [self, contact, notif]
          return [host_ref, self, contact, notif]
docs: Get data for a notification
  
          :param contact: The contact to return
          :type contact:
          :param notif: the notification to return
          :type notif:
          :return: list containing the service, the host and the given parameters
          :rtype: list