pub fn test_endpoints_enabled(_modes: &ModesConfig) -> boolExpand description
Returns true if dangerous test manipulation endpoints are enabled.
This is now a compile-time check via the test-endpoints cargo feature.
The feature gates mock feeds, mock oracles, and /test/* endpoints.
Should only be enabled for local dev and CI builds, never in deployed binaries.