code: public Boolean isSchedulerPaused() {
          try {
              return this.scheduler.isInStandbyMode();
          } catch (SchedulerException e) {
              logger.error("error retrieveing scheduler condition", e);
          }
          return null;
      }
docs: Check if scheduler is paused, or not.
  
  @return {@link Boolean} <code>true</code> if paused, <code>false</code>
  otherwise, or <code>null</code> if we cannot fetch state
  
  @see QuartzService#isSchedulerPaused()