public boolean isJobInstanceExists(String jobName, JobParameters jobParameters) {
Assert.notNull(jobName, "Job name must not be null.");
Assert.notNull(jobParameters, "JobParameters must not be null.");
try {
IsJobInstanceExistsReq request = JobRepositoryRpcFactory.buildIsJobInstanceExistsReq(jobName, jobParameters);
IsJobInstanceExistsRes response = (IsJobInstanceExistsRes) getAppmasterScOperations().doMindRequest(request);
return response.response;
} catch (Exception e) {
throw convertException(e);
}