code: @Override
    public boolean acceptsURL(String url)
    {
      if (url == null)
      {
        return false;
      }
  
      return url.indexOf("/?") > 0 ?
             Pattern.matches(JDBC_PROTOCOL_REGEX,
                             url.substring(0, url.indexOf("/?"))) :
             Pattern.matches(JDBC_PROTOCOL_REGEX, url);
    }
docs: Checks whether a given url is in a valid format.
  <p>
  The current uri format is: jdbc:snowflake://[host[:port]]
  <p>
  jdbc:snowflake:// - run in embedded mode jdbc:snowflake://localhost -
  connect to localhost default port (8080)
  <p>
  jdbc:snowflake://localhost:8080- connect to localhost port 8080
  
  @param url url of the database including host and port
  @return true if the url is valid