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