IS 6.1 / 7.1 - detect trace or single step mode

Is there a public service that indicates whether a flow is running in trace or single-step mode?