Hey there @tms !
Have you taken a look at the appState property?
Let us know if that works for your use case!