WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

BankTransfer::is_active() public WC 1.0

Returns if this payment method should be active. If false, the scripts will not be enqueued.

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

No Hooks.

Return

true/false.

Usage

$BankTransfer = new BankTransfer();
$BankTransfer->is_active();

Code of BankTransfer::is_active() WC 5.0.0

<?php
public function is_active() {
	return filter_var( $this->get_setting( 'enabled', false ), FILTER_VALIDATE_BOOLEAN );
}