private static boolean wantsNetwork(@JobConstraint int jobConstraints) {
    return wantsAnyNetwork(jobConstraints) || wantsUnmeteredNetwork(jobConstraints);
  }
Returns true if any of the given {@code jobConstraints} require a network.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/ConstraintChecker.java