STWSecurity Manager Kt
The security manager is a class that allows applications to check the security policy. It allows an application to determine, before performing a possibly unsafe or sensitive operation, to check the device security status based on two configuration flags can be configured using the STWConfiguration builder.
Vulnerability Checker : whether the device is rooted (or have a security issue) or not
Secure Storage Checker : whether the device storage is encrypted and the security keyguard (PIN, pattern, password, ...) exist