Hello @asafd welcome to the community!
transaction.isEnrolled()
should return true if a user is enrolled, and false otherwise. I am unaware of an expiration - The only way I could see this returning false (once true) is if MFA is reset for the user. The mfa_token
could expire:
Hope this helps!