TYPOC-4: enable/disable menu items based on context settings