WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

PluginsActivatedRuleProcessor::validate() public WC 1.0

Validates the rule.

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

No Hooks.

Return

true|false. Pass/fail.

Usage

$PluginsActivatedRuleProcessor = new PluginsActivatedRuleProcessor();
$PluginsActivatedRuleProcessor->validate( $rule );
$rule(object) (required)
The rule to validate.

Code of PluginsActivatedRuleProcessor::validate() WC 5.3.0

<?php
public function validate( $rule ) {
	if ( ! isset( $rule->plugins ) || ! is_array( $rule->plugins ) ) {
		return false;
	}

	return true;
}