isMigrationNeeded

fun isMigrationNeeded(user: UserAccount? = UserAccountManager.getInstance().currentUser): Boolean

Cheap, side-effect free check: would migrateIfNeeded start (or join) an upgrade now? Returns true while an upgrade is already in flight for user, so UI shown for it stays up. Safe to call from any thread; the result is only a snapshot.