code: def notification_is_blocked_by_contact(self, notifways, timeperiods, notif, contact):
          
          return not contact.want_host_notification(notifways, timeperiods,
                                                    self.last_chk, self.state, notif.type,
                                                    self.business_impact, notif.command_call)
docs: Check if the notification is blocked by this contact.
  
          :param notif: notification created earlier
          :type notif: alignak.notification.Notification
          :param contact: contact we want to notify
          :type notif: alignak.objects.contact.Contact
          :return: True if the notification is blocked, False otherwise
          :rtype: bool