That's a little too hardcoded to the menu system. Instead, check if the user has access to the feature.