And I think the proposal of adding `isActionMenuVisiable` is good, thanks!