public static boolean isDeviceProtectedStorage(@NonNull Context context) {
        if (Build.VERSION.SDK_INT >= 24) {
            return context.isDeviceProtectedStorage();
        } else {
            return false;
        }
    }
Indicates if the storage APIs of this Context are backed by
device-encrypted storage.

@see ContextCompat#createDeviceProtectedStorageContext(Context)
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/ContextCompat.java