class AuthnRequestFromTransactionHandler {

    public boolean isResponseFromCountryWithUnsignedAssertions(SessionId sessionId) {
        StateController stateController = sessionRepository.getStateController(sessionId, ResponsePreparedState.class);
        if (stateController instanceof NonMatchingJourneySuccessStateController) {
            NonMatchingJourneySuccessState state = ((NonMatchingJourneySuccessStateController) stateController).getState();
            return state.getCountrySignedResponseContainer().isPresent();
        }
        return false;
    }

    @Inject public  AuthnRequestFromTransactionHandler(
            SessionRepository sessionRepository,
            HubEventLogger hubEventLogger,
            PolicyConfiguration policyConfiguration,
            TransactionsConfigProxy transactionsConfigProxy,
            IdGenerator idGenerator);

}