def qs_checks_ssl(qs):
    """
    By default, we check SSL certificate validity. If ?x-sslVerify=false is found, we don't.
    We prepend x- to the option because it's non-standard in MongoDB connection strings.
    """
    for check_ssl_value in qs.get("x-sslVerify", []):
        if check_ssl_value == "false":
            return False
    return True