code: function ifModelAndKey(component, callback) {
          var model = firstModel(component);
          if (model) {
              var key = getKey(component);
              return callback(key, model);
          }
      }
docs: Return the callback function (key, model) if both the model exists
  and the model key is available