title: Check if Location is enabled android
body: <p>Is there a way to programatically check if the Location is enabled in android?
  Im talking about this setting on the phone:</p>
  
  <p><img src="https://i.stack.imgur.com/Yr1LJ.png" alt="enter image description here"></p>