Token gating is a popular way to grant or prevent access to some web property like a webpage, or chat room.
Here we define an address for the owner we want to check, and the target asset of SATOSHIDICE
Next we get 20 of the unclaimed vaults owned by the defined address using the Get Vaults by ownerendpoint
Next we loop through each and using the Get Vault Balance endpoint check the contents of each vault for a SATOSHIDICE
NOTE: This is a simplistic example meant to illustrate how combining different endpoints you can make complex applications. Under real world conditions you would handle paginating through a user's entire collection of vaults.
EXTRA: You can also check for the existence of claimed vaults within a user's account.