isEnabled

fun isEnabled(context: Context): Boolean

Checks if any GPS or NETWORK location providers are enabled