Use action's returned-value to check if the action is matched or not

So you need to return truthy value from action,
or to return false if you want not to tell that the action is matched.