def METHOD_NAME(self, alarm):
    """
    Called on change in network-kill alarm.
    If the raised status changed, set update flag to true so test an notice change
    """
    if (
        self.network_kill_alarm is None
        or alarm.raised != self.network_kill_alarm.raised
    ):
        self.network_updated = True
    self.network_kill_alarm = alarm