code: public boolean isScheduled(final org.easybatch.core.job.Job job) throws JobSchedulerException {
          String jobName = job.getName();
          try {
              return scheduler.checkExists(TriggerKey.triggerKey(TRIGGER_NAME_PREFIX + jobName));
          } catch (SchedulerException e) {
              throw new JobSchedulerException(format("Unable to check if the job '%s' is scheduled", jobName), e);
          }
      }
docs: Check if the given job is scheduled.
  
  @param job the job to check
  @return true if the job is scheduled, false else
  @throws JobSchedulerException thrown if an exception occurs while checking if the job is scheduled