public final boolean isValid(@NonNull JobTrigger trigger) {
    return validate(trigger) == null;
  }
Indicates whether the provided JobTrigger is valid.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/ValidationEnforcer.java