WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Menu::has_callback() public WC 1.0

Check if a menu item's callback is registered in the menu.

{} It's a method of the class: Menu{}

No Hooks.

Return

true|false. Nothing.

Usage

$result = Menu::has_callback( $menu_item );
$menu_item(array) (required)
Menu item args.

Code of Menu::has_callback() WC 5.3.0

<?php
public static function has_callback( $menu_item ) {
	if ( ! $menu_item || ! isset( $menu_item[ self::CALLBACK ] ) ) {
		return false;
	}

	$callback = $menu_item[ self::CALLBACK ];

	if (
		isset( self::$callbacks[ $callback ] ) &&
		self::$callbacks[ $callback ]
	) {
		return true;
	}

	if (
		isset( self::$callbacks[ self::get_callback_url( $callback ) ] ) &&
		self::$callbacks[ self::get_callback_url( $callback ) ]
	) {
		return true;
	}

	return false;
}