@classmethod
def can_send(cls, device, notice_type):
    """
        Check if the given device has the given `notice_type` enabled
        """
    try:
        notification_setting = cls.objects.get(device=device, name=notice_type)
    except cls.DoesNotExist:
        notification_setting = cls.objects.create(device=device, name=
            notice_type)
    return notification_setting.send
