@ibrahim.hadad -
No, there currently isn’t…you could add a variable in your application code to track the state, though.
-Jeff