function getCurrentVersion(fetcher, label, name) {
    return fetcher()
        .then(function (dashboards) {
            var output = null;
            dashboards.forEach(function(dashboardDef) {
                if (
                    dashboardDef.label === label &&
                    dashboardDef.dashboardName === name
                ) {
                    output = dashboardDef;
                }
            });
            return output;
        });
}
Returns the latest version of a specific dashboard

@param {FetcherFunction} fetcher fetcher function created by getDashboardFetcher
@param {string} label label of the dashboard (jQuery, react, angular etc...) 
@param {string} name name of the dashboard (default, spin etc...)