def METHOD_NAME(self, message):
    if self.host_id == message.get('host_id'):
        try:
            sid = message['sid']
            id = message['id']
            args = message['args']
        except KeyError:
            return
        self.trigger_callback(sid, id, args)