Fix Attribute::check_alarm() method (#1182)
Before this fix, Attribute::check_alarm() could return false when the attribute quality factor was already in ALARM.
Before this fix, Attribute::check_alarm() could return false when the attribute quality factor was already in ALARM.