I was wondering if anyone knew a parameter that i could log to help detect that its in a spark arrested mode.

I believe it is the KOM.

Thanks