code: protected boolean jobTooOld(final JobInfo jobInfo, final JobDefinition jobDefinition) {
          final Optional<OffsetDateTime> stopped = jobInfo.getStopped();
          if (stopped.isPresent() && jobDefinition.maxAge().isPresent()) {
              final OffsetDateTime deadlineToRerun = stopped.get().plus(jobDefinition.maxAge().get());
              return deadlineToRerun.isBefore(now());
          }
  
          return false;
      }
docs: Calculates whether or not the last job execution is too old.
  
  @param jobInfo       job info of the last job execution
  @param jobDefinition job definition, specifying the max age of jobs
  @return boolean