hasLocationPermission

fun ERROR CLASS: Symbol not found for Context.hasLocationPermission(): Boolean(source)

Return

true if the user already has location permission (ACCESS_FINE_LOCATION).