code: function getValue(object, prop) {
    if (!(object && object[prop])) {
      return null;
    }
    return _.isFunction(object[prop]) ? object[prop]() : object[prop];
  }
docs: Helper function to get a value from a Backbone object as a property or as a function.