return true;
}
}
private static boolean isValid(String url, String apiKey) {
RestResponse response = RestUtils.test(url, apiKey);
return !response.success &&
response.responseCode == 200 &&
response.message.startsWith(Constants.APP_LOOKUP_FAILURE_STRING);
}