fun BiometricManager.isEnrolled(): Boolean { val status = canAuthenticate(BIOMETRIC_WEAK) return status == BIOMETRIC_SUCCESS }
Checks if the user can use the [BiometricManager] and is therefore enrolled.