There are more reliable functions to remove menus and submenus in WP admin area. Those functions are remove_menu_page and remove_submenu_page. I don’t know if the menus you want to remove are top level menus or submenus neither the slug of the menus (needed for these functions), so I can not give you the exact code you need.
Example: remove edit.php?post_type=team
(top level menu for custom post type “team”) for blog with ID = 1 and remove edit-comments.php
for the rest of blogs:
add_action('admin_menu', 'cyb_remove_admin_menu_items');
function cyb_remove_admin_menu_items() {
$blog_id = get_current_blog_id();
if ($blog_id == 1) {
remove_menu_page('edit.php?post_type=team');
} else {
remove_menu_page('edit-comments.php');
}
}