WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

IsEcommerceRuleProcessor::process() public WC 1.0

Passes (or fails) based on whether the site is on the eCommerce plan or not.

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

No Hooks.

Return

true|false. The result of the operation.

Usage

$IsEcommerceRuleProcessor = new IsEcommerceRuleProcessor();
$IsEcommerceRuleProcessor->process( $rule, $stored_state );
$rule(object) (required)
The rule being processed by this rule processor.
$stored_state(object) (required)
Stored state.

Code of IsEcommerceRuleProcessor::process() WC 5.3.0

<?php
public function process( $rule, $stored_state ) {
	if ( ! function_exists( 'wc_calypso_bridge_is_ecommerce_plan' ) ) {
		return false === $rule->value;
	}

	return (bool) wc_calypso_bridge_is_ecommerce_plan() === $rule->value;
}