docs: def legal_check(self, message):
          """This method handles event legality check messages from the server.
  
          Args:
            message (dict): The unserialized legality dictionary received from
              the server.
  
          Returns:
            None
  
          Examples:
            >>> message
  
          """
  
          # If the event was legal, remove it from our event buffer
          if message["method"] == "LEGAL":
              logger.debug("<%s> <euuid:%s> Event LEGAL" % (str(self.cuuid),
                                                             message["euuid"]))
              logger.debug("<%s> <euuid:%s> Removing event from event "
                     "buffer." % (str(self.cuuid), message["euuid"]))
  
              # If the message was a high priority, then we keep track of legal
              # events too
              if message["priority"] == "high":
                  self.event_confirmations[
                      message["euuid"]] = self.event_uuids[message["euuid"]]
                  logger.debug("<%s> <euuid:%s> Event was high priority. Adding "
                                "to confirmations buffer." % (str(self.cuuid),
                                                              message["euuid"]))
                  logger.debug("<%s> <euuid:%s> Current event confirmation "
                                "buffer: %s" % (str(self.cuuid),
                                                message["euuid"],
                                                pformat(self.event_confirmations)))
  
              # Try and remove the event from the currently processing events
              try:
                  del self.event_uuids[message["euuid"]]
              except KeyError:
                  logger.warning("<%s> <euuid:%s> Euuid does not exist in event "
                                 "buffer. Key was removed before we could process "
                                 "it." % (str(self.cuuid), message["euuid"]))
  
          # If the event was illegal, remove it from our event buffer and add it
          # to our rollback list
          elif message["method"] == "ILLEGAL":
              logger.debug("<%s> <euuid:%s> Event ILLEGAL" % (str(self.cuuid),
                                                              message["euuid"]))
              logger.debug("<%s> <euuid:%s> Removing event from event buffer and "
                           "adding to rollback buffer." % (str(self.cuuid),
                                                           message["euuid"]))
              self.event_rollbacks[
                  message["euuid"]] = self.event_uuids[message["euuid"]]
              del self.event_uuids[message["euuid"]]