docs: function checkUrl(url, resourceName, hrefKey) {
      if (url == undefined || !url) {
          throw new Error("The provided resource name '" + resourceName + "' has no valid URL in the '" +
          hrefKey + "' property.");
      }
      return url
  }