<?php
/**
 * WeCodeArt Framework.
 *
 * WARNING: This file is part of the core WeCodeArt Framework. DO NOT edit this file under any circumstances.
 * Please do all modifications in the form of a child theme.
 *
 * @package 	WeCodeArt Framework
 * @subpackage 	Support\RankMath\Conditional\is_rankmath_active
 * @copyright   Copyright (c) 2025, WeCodeArt Framework
 * @since 		6.1.2
 * @version		6.3.7
 */

namespace WeCodeArt\Support\Plugins\RankMath;

defined( 'ABSPATH' ) || exit; 

use WeCodeArt\Config\Interfaces\Conditional;

/**
 * Conditional that is only met when plugin is active.
 */
class Condition implements Conditional {

	/**
	 * @inheritdoc
	 */
	public function is_met(): bool {
		return class_exists( 'RankMath' );
	}
}