Add new method isRegistered(String), which returns true if an action is registered.