# Backbone.Collection - Ensure that at most one model has property set to true

I have a Backbone.Collection which has some models in it. Each model has a boolean property called 'special.' Only one model should be special at any given time.

I've got the following to enforce this, but I'm wondering if it could be clearer or if there is a more appropriate way to enforce such behavior:

//  Ensure that only 1 model is ever special.
this.on('change:special', function (changedModel, special) {

if (special) {
this.each(function (model) {
if (model !== changedModel) {
model.set('special', false);
}
});
}

});


I don't like this because it seems overly verbose and also gives a period of time where two items are special.