isTransitioningTo
Returns whether the provided state matches the initialState&& the provided targetState matches Segment.targetState.
Returns whether the provided state matches the initialState&& the provided targetState matches Segment.targetState.