Add convenience methods to seec::Trace::ThreadState - isAtStart() and isAtEnd(),
to check if the state is at the start or end of the trace, respectively.