ODAC
Used to define wheter SQL trace and PL/SQL trace are active.
TOraTrace
property State: TTraceState;
Use the State property to detect whether SQL trace and PL/SQL trace are active.