function getLocalStorage(model) {
  return (0, _underscore.result)(model, 'localStorage') || (0, _underscore.result)(model.collection, 'localStorage');
}
Returns the localStorage attribute for a model
@param {Model} model - Model to get localStorage
@returns {Storage} The localstorage