Returns true if the set contains an alarm with the given alarmId.
true
alarmId
bool containsId(int alarmId) => _alarms.any((a) => a.id == alarmId);