How to know whether TrustyOS is running in Android mobile or not
There is this app on Github - tee-checker, it's latest version is 3 years old (!) but it detects TEE on Qualcomm devices.

On my MiA1 it shows




(Click to enlarge)