title: Add check for local wifi connected constraint on WorkManager in android
body: <p>In my current implementation for worker <code>Constraints</code>, I am using the below configuration.</p>
  
  <pre><code> Constraints.Builder().setRequiredNetworkType(NetworkType.CONNECTED)
                  .setRequiresBatteryNotLow(true).build()
  </code></pre>
  
  <p>I found that by this <code>Constraints</code>, Worker only works if the network has internet connection but i want a constraint that works even if there is no internet and device is connected to wifi.</p>
  
  <p>So what could be a way to add network only constraint, not the internet.</p>