check Security Status As Flow
This method is used to check if the application is installed and executed on a safety device.
This method only works when the user has enabled the security functionality using the STWConfiguration
A device is recognized as secure only when all the below conditions are met :
Device not rooted
Device storage encrypted
Device keyguard is secured (PIN, pattern or password)
This method is the same as STWSecurityManagerKt.checkSecurityStatus, except that it return a flow
Return
flow of the security status