code: function loadEndpoints(endpoints, options, auth) {
  	if (Array.isArray(endpoints)) {
  		endpoints.forEach(function(endpoint) {
  			if (auth !== Boolean(endpoint.authenticated)) {
  				//after endpoints refactored, remove this check
  				return;
  			}
  			const conditional = endpoint.hasOwnProperty("ifProp");
  			if (conditional && options.configParams.get(endpoint.ifProp) || !conditional) {
  				tryLoadRouter(endpoint, options);
  			}
  		});
  	}
  }
docs: Function that loads endpoints from the configuration file
  @param {{?}[]} endpoints The array of endpoints
  @param {{?}} options The map of options
  @param {bool} auth If we should be loading endpoints that require authentication