code: def register_callback_deleted(self, func, serialised=True):
          
          self.__add_callback(_CB_DELETED, func, serialised_if_crud=serialised)
docs: Register a callback function to receive QAPI Unsolicited (resource) DELETED. The
          callback receives a single argument - the inner message. If `serialised` is not set,
          the callbacks might arrive out-of-order.