WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

WooCommercePayments::is_installed() protected WC 1.0

Check if the WooCommerce Payments plugin is active or installed.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WooCommercePayments::is_installed();

Code of WooCommercePayments::is_installed() WC 5.3.0

<?php
protected static function is_installed() {
	if ( defined( 'WC_Payments' ) ) {
		return true;
	}
	include_once ABSPATH . '/wp-admin/includes/plugin.php';
	return 0 === validate_plugin( self::PLUGIN_FILE );
}