boolean public static \Bitrix\Security\Mfa\Otp::isOtpRequiredByMandatory( );
Static method returns true, when user doesn't use OTP. it is required and a number of days has expired.
true
No parameters