Replace all uses of `Products::isPurchased()` with `Purchases::isPurchased()`.
Replace all uses of
Products::isPurchased()withPurchases::isPurchased().