WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

PluginsHelper::is_plugin_active() public WC 1.0

Checks if a plugin is active.

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

No Hooks.

Return

true|false. Nothing.

Usage

$result = PluginsHelper::is_plugin_active( $plugin );
$plugin(string) (required)
Path to the plugin file relative to the plugins directory or the plugin directory name.

Code of PluginsHelper::is_plugin_active() WC 5.2.2

<?php
public static function is_plugin_active( $plugin ) {
	$plugin_path = self::get_plugin_path_from_slug( $plugin );
	return $plugin_path ? in_array( $plugin_path, get_option( 'active_plugins', array() ), true ) : false;
}