Automattic\WooCommerce\Admin\Features\OnboardingTasks
Task::is_active
Check if this is the active task.
Method of the class: Task{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Task = new Task(); $Task->is_active();
Task::is_active() Task::is active code WC 10.6.2
public function is_active() {
return get_transient( self::ACTIVE_TASK_TRANSIENT ) === $this->get_id();
}