PROBCORE-562 Added method to trace to test if an operation is valid on a given Trace.