isRunningInTestEnvironment

Determine if the app is running in a test environment. This method uses multiple detection strategies for higher reliability.

Return

True if in a test environment, false otherwise.