Vuex: Check if action exist

I want to know if action is exist before dispatching it.
How can I do it inside another action?

Then it sounds to me like you are doing something wrong. Why do you need to check that?