code: def update(self, obj):
          
          if isinstance(obj, APPMessage):
              self._header = obj._header
              self._payload = obj._payload
docs: Set this instance up based on another instance
  
          :param obj: Instance to copy from
          :type obj: APPMessage
          :rtype: None