code: boolean isNegotiable(ProtocolVersion protocolVersion) {
          if (activeProtocols == null) {
              activeProtocols = getActiveProtocols();
          }
  
          return activeProtocols.contains(protocolVersion);
      }
docs: Check if the given protocol version is enabled and available.