Added api for differentiation between invalid terminal state and winning terminal state.