I only read this helpful comment now. I wanted to add for other readers that, if there are no real transactions to check against, the AppTransaction.shared object is the way to go.
Topic:
App & System Services
SubTopic:
Core OS
Tags: