WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Init::is_nav_compatible() public WC 1.0

Determine if sufficient versions are present to support Navigation feature

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

No Hooks.

Return

null. Nothing.

Usage

$Init = new Init();
$Init->is_nav_compatible();

Code of Init::is_nav_compatible() WC 5.3.0

<?php
public function is_nav_compatible() {
	include_once ABSPATH . 'wp-admin/includes/plugin.php';

	$gutenberg_minimum_version = '9.0.0'; // https://github.com/WordPress/gutenberg/releases/tag/v9.0.0.
	$wp_minimum_version        = '5.6';
	$has_gutenberg             = is_plugin_active( 'gutenberg/gutenberg.php' );
	$gutenberg_version         = $has_gutenberg ? get_plugin_data( WP_PLUGIN_DIR . '/gutenberg/gutenberg.php' )['Version'] : false;

	if ( $gutenberg_version && version_compare( $gutenberg_version, $gutenberg_minimum_version, '>=' ) ) {
		return true;
	}

	// Get unmodified $wp_version.
	include ABSPATH . WPINC . '/version.php';

	// Strip '-src' from the version string. Messes up version_compare().
	$wp_version = str_replace( '-src', '', $wp_version );

	if ( version_compare( $wp_version, $wp_minimum_version, '>=' ) ) {
		return true;
	}

	return false;
}