class InviteRestServiceImpl extends BaseRestService implements InviteRestService {

    @Override
    public RestResult<Boolean> checkExistingUser(String inviteHash) {
        String url = inviteRestUrl + String.format("/check-existing-user/%s", inviteHash);
        return getWithRestResultAnonymous(url, Boolean.class);
    }

}