WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

PageController::is_connected_page() public WC 1.0

Returns true if we are on a page connected to this controller.

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

Return

true|false. Nothing.

Usage

$PageController = new PageController();
$PageController->is_connected_page();

Code of PageController::is_connected_page() WC 5.3.0

<?php
public function is_connected_page() {
	$current_page = $this->get_current_page();

	if ( false === $current_page ) {
		$is_connected_page = false;
	} else {
		$is_connected_page = isset( $current_page['js_page'] ) ? ! $current_page['js_page'] : true;
	}

	// Disable embed on the block editor.
	$current_screen = did_action( 'current_screen' ) ? get_current_screen() : false;
	if ( method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() ) {
		$is_connected_page = false;
	}

	/**
	 * Whether or not the current page is an existing page connected to this controller.
	 *
	 * Used to determine if the WooCommerce Admin header should be rendered.
	 *
	 * @param boolean       $is_connected_page True if the current page is connected.
	 * @param array|boolean $current_page The connected page data or false if not identified.
	 */
	return apply_filters( 'woocommerce_navigation_is_connected_page', $is_connected_page, $current_page );
}