WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Features::is_enabled() public WC 1.0

Check if a feature is enabled. Defaults to true for all features unless they are in beta.

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

No Hooks.

Return

true|false. Nothing.

Usage

$result = Features::is_enabled( $feature );
$feature(string) (required)
Feature slug.

Code of Features::is_enabled() WC 5.3.0

<?php
public static function is_enabled( $feature ) {
	if ( ! self::exists( $feature ) ) {
		return false;
	}

	$features = self::get_beta_feature_options();

	if ( isset( $features[ $feature ] ) ) {
		$feature_option = $features[ $feature ];
		// Check if the feature is currently being enabled.
		/* phpcs:disable WordPress.Security.NonceVerification */
		if ( isset( $_POST[ $feature_option ] ) && '1' === $_POST[ $feature_option ] ) {
			return true;
		}

		return 'yes' === get_option( $feature_option, 'no' );
	}

	return true;
}