code: def validateNodeMsg(self, wrappedMsg):
          
          msg, frm = wrappedMsg
          if self.isNodeBlacklisted(frm):
              self.discard(str(msg)[:256], "received from blacklisted node {}".format(frm), logger.display)
              return None
  
          with self.metrics.measure_time(MetricsName.INT_VALIDATE_NODE_MSG_TIME):
              try:
                  message = node_message_factory.get_instance(**msg)
              except (MissingNodeOp, InvalidNodeOp) as ex:
                  raise ex
              except Exception as ex:
                  raise InvalidNodeMsg(str(ex))
  
          try:
              self.verifySignature(message)
          except BaseExc as ex:
              raise SuspiciousNode(frm, ex, message) from ex
          logger.debug("{} received node message from {}: {}".format(self, frm, message), extra={"cli": False})
          return message, frm
docs: Validate another node's message sent to this node.
  
          :param wrappedMsg: Tuple of message and the name of the node that sent
          the message
          :return: Tuple of message from node and name of the node