boolean public static \Bitrix\Main\Entity\CryptoField::cryptoAvailable( string $key = '' );
This static method checks option for crypto class and crypto key.