pub fn is_running_in_test_env() -> bool
Use to detect if running in a test environment, either cargo test or devimint.
cargo test
devimint