code: func (s *Stack) CheckNetworkProtocol(protocol tcpip.NetworkProtocolNumber) bool {
  	_, ok := s.networkProtocols[protocol]
  	return ok
  }
docs: // CheckNetworkProtocol checks if a given network protocol is enabled in the
  // stack.