private boolean hasExactProtocol(SessionProtocol protocol) {
        return protocols.contains(requireNonNull(protocol, "protocol"));
    }
Returns whether the specified {@code protocol} is in the list of {@link SessionProtocol}s.
core/src/main/java/com/linecorp/armeria/server/ServerPort.java