/home/ivoiecob/www/wp-content/plugins/wp-rocket/inc/Engine/Media/Fonts/Context/SaasContext.php
<?php
declare(strict_types=1);

namespace WP_Rocket\Engine\Media\Fonts\Context;

use WP_Rocket\Engine\Common\Context\AbstractContext;

class SaasContext extends AbstractContext {
	/**
	 * Checks if the feature is allowed.
	 *
	 * @param array $data Optional. Data to check against.
	 *
	 * @return bool
	 */
	public function is_allowed( array $data = [] ): bool {
		$checks = [
			'option' => 'host_fonts_locally',
		];

		return $this->run_common_checks( $checks );
	}
}