dojo.forEach(this.fields.values, function(a){ if(cache[a.name] != data[a.name]){ return false; } }, this); return true;