static isProtocolAllowed(url) {
    try {
      const parsed = new URL(url);
      return allowedProtocols.includes(parsed.protocol);
    } catch (e) {
      return false;
    }
  }
Determine if the url has a protocol that we're able to test
@param {string} url
@return {boolean}