def METHOD_NAME(self, value, path, **kwargs):
    """
    Check Protocol Value
    """
    matches = []
    if isinstance(value, str):
        if value.upper() not in kwargs["accepted_protocols"]:
            message = "Protocol must be {0} is invalid at {1}"
            matches.append(
                RuleMatch(
                    path,
                    message.format(
                        (", ".join(kwargs["accepted_protocols"])),
                        ("/".join(map(str, path))),
                    ),
                )
            )
        elif value.upper() in kwargs["certificate_protocols"]:
            if not kwargs["certificates"]:
                message = (
                    "Certificates should be specified when using HTTPS for {0}"
                )
                matches.append(
                    RuleMatch(path, message.format(("/".join(map(str, path)))))
                )
    return matches