To know if an menu item is loaded

I have a menu with several options, but some of them are imcompabilities. Is there any way to get if a menu item is already loaded.
because if it is true, to ban the executation of that menu option

thanks