public bool IsPurchased(string productId) { bool isPurchased = false; SoomlaUtils.LogDebug(TAG, "Licence " + productId); if (StoreInventory.GetVirtualItemBalance(productId) > 0) { isPurchased = true; } return(isPurchased); }