code: function (url) {
          if (_.isEmpty(url)) {
              return false;
          }
  
          // convert url strings to Url
          (typeof url === STRING) && (url = new Url(url));
  
          // this ensures we don't proceed any further for any protocol
          // that is not https
          if (url.protocol !== HTTPS) {
              return false;
          }
  
          // test the input url against allowed matches
          return this.matches.test(url);
      }
docs: Checks if the certificate can be applied to a given url
  
  @param {String|Url} url The url string for which the certificate is checked for match.