code: function(object) {
      if (!(object && object.url)) return null;
      return _.isFunction(object.url) ? object.url() : object.url;
    }
docs: Helper function to get a URL from a Model or Collection as a property or as a function.