<?php
/** AnyWareX Clone Translate – Optional Extension Detection */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

final class AWXCT_Features {
	public static function has_any_extension(): bool {
		return ( defined( 'AWXCT_PLUS_VERSION' ) || defined( 'AWXCT_PRO_VERSION' ) );
	}

	public static function has_json_js(): bool {
		return self::has_any_extension();
	}

	public static function has_json_editor(): bool {
		return self::has_any_extension();
	}

	public static function has_json_dictionary(): bool {
		return defined( 'AWXCT_PRO_VERSION' );
	}

	public static function has_json_php(): bool {
		return defined( 'AWXCT_PRO_VERSION' );
	}
}
