public boolean isFingerprintAuthAvailable() throws SecurityException {
        return mFingerprintManager.isHardwareDetected()
                && mFingerprintManager.hasEnrolledFingerprints()
                && ((KeyguardManager) mIcon.getContext().getSystemService(Context.KEYGUARD_SERVICE)).isDeviceSecure();
    }
Tells if the {@link FingerprintManager#isHardwareDetected()}, {@link FingerprintManager#hasEnrolledFingerprints()},
and {@link KeyguardManager#isDeviceSecure()}

@return true if yes, false otherwise
@throws SecurityException If the hardware is not available, or the permission are not set
lib/src/main/java/com/github/omadahealth/lollipin/lib/managers/FingerprintUiHelper.java