• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/classes/general/user.php
  • Класс: CSecurityUser
  • Вызов: CSecurityUser::IsUserOtpExist
static function IsUserOtpExist($userId)
{
	if (!intval($userId))
		return false;

	$otp = static::getCachedOtp($userId);
	return ($otp->isInitialized() ? true : false);
}