Android users can toggle their location ON or OFF on their device. Is there any variable or formula to detect this?
I'm looking for something boolean like $si(alarmon)$ but for location. Something along the lines of a non-existing $si(locationon)$ which would return 1 or 0.