public boolean areConstraintsSatisfied(JobInvocation job) {

    int jobConstraints = Constraint.compact(job.getConstraints());
    return areNetworkConstraintsSatisfied(jobConstraints);
  }
Returns true iff all the specified job constraints are satisfied. Note: At the moment this
method only checks for network constraints and nothing more.

@param job the job whose constraints are to be checked.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/ConstraintChecker.java