pub fn test_pool_is_set() -> bool
True when the current thread has installed a test pool. Used by User::get_connection to choose between the test override and the per-user production pool.
User::get_connection