WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

OnboardingTasks::is_active_task_complete() public WC 1.0

Check for active task completion, and clears the transient.

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

No Hooks.

Return

true|false. Nothing.

Usage

$result = OnboardingTasks::is_active_task_complete();

Code of OnboardingTasks::is_active_task_complete() WC 5.3.0

<?php
public static function is_active_task_complete() {
	$active_task = self::get_active_task();

	if ( ! $active_task ) {
		return false;
	}

	if ( self::check_task_completion( $active_task ) ) {
		delete_transient( self::ACTIVE_TASK_TRANSIENT );
		return true;
	}

	return false;
}