class SimpleStateManager implements StateManager {

    @Override
    public boolean stateExists(Resource stateId) {
        try (RepositoryConnection conn = repository.getConnection()) {
            return stateExists(stateId, conn);
        }
    }

}