def METHOD_NAME(self):
    internally_down = manage.NetboxInfo.objects.filter(
        netbox=self.netbox.id,
        key=INFO_KEY_NAME,
        variable=INFO_VARIABLE_NAME,
        value="down",
    ).exists()
    globally_down = (
        event.AlertHistory.objects.unresolved("snmpAgentState")
        .filter(netbox=self.netbox.id)
        .exists()
    )
    return internally_down or globally_down