Check if action is undoable