Add function to get the curent state of some action