def METHOD_NAME(self, data, handle_func):
    try:
        data = data["data"]["Wishlist"]["addToWishlist"]
        if data["success"]:
            handle_func(True)
        else:
            handle_func(False)
    except Exception as e:
        logger.error(str(e))
        handle_func(False)
    self.update_wishlist.emit()