Menu Item visible and not

Because if I recall a menu item and I want to make it invisible from the program, doesn’t it go?