code: def get_ping(self, nonce: Nonce) -> bytes:
          
          message = Ping(
              nonce=nonce,
              current_protocol_version=constants.PROTOCOL_VERSION,
          )
          self.raiden.sign(message)
          return message.encode()
docs: Returns a signed Ping message.
  
          Note: Ping messages don't have an enforced ordering, so a Ping message
          with a higher nonce may be acknowledged first.