$emailChallenge->isAvailable()
As a second factor, the email challenge is opt-in per user, so that users are not forced into it just by having an email address. For every other purpose it stays always available.
As a second factor, the email challenge is opt-in per user, so that users are not forced into it just by having an email address. For every other purpose it stays always available.