In general you can just check that `allowedParams.indexOf(key) > -1`. This is more consistent with what we do elsewhere. I think we also have a contains method. Now that I think about it, you should actually be using `Ember.ArrayPolyfills.indexOf` since older browsers don't support `indexOf` and users might turn of ES5 shimming.