Is there a way to detect whether a flow is running locally, on aws batch with my computer as orchestrator, or using step functions?
For context, I want certain operations to run only when a flow is running using step functions (namely calling other step functions / flows)