If getActionName() returns string, string must be checked