code: def network_protocol(self, layer: Optional[Layer] = None) -> str:
          
          key = self._validate_enum(item=layer, enum=Layer)
          protocols = NETWORK_PROTOCOLS[key]
          return self.random.choice(protocols)
docs: Get a random network protocol form OSI model.
  
          :param layer: Enum object Layer.
          :return: Protocol name.
  
          :Example:
              AMQP