WordPress at Your Fingertips
function is not described

_is_valid_nav_menu_item() WP 3.2.0

Return if a menu item is valid.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

true|false. False if invalid, otherwise true.

Usage

_is_valid_nav_menu_item( $item );
$item(object) (required)
The menu item to check.

Changelog

Since 3.2.0 Introduced.

Code of _is_valid_nav_menu_item() WP 5.7.2

<?php
function _is_valid_nav_menu_item( $item ) {
	return empty( $item->_invalid );
}