boolean public \Bitrix\Security\Mfa\Otp::isAttemptsReached( );
Non-static method verifies, if number of authorization attempts, allowed by security policy, has been exceeded. Can be used, for example, for displaying Captcha.
No parameters