Way to check if action exists in InputMap

Godot Version

4.4

Question

I’m making a plugin in which actions with particular names can be created in the InputMap and the plugin will automatically do things with them. However, as far as I’m aware there is currently no way to check if an action of said name exists, so if it’s missing (which is even more of a problem because not all of them are necessary), it will throw an error.

Am I missing something? Can you do this?

Nevermind it’s possible with the function InputMap.has_action.