Check if IOS device's GPS is turned off

https://ionicframework.com/docs/native/diagnostic/#isGpsLocationAvailable and https://ionicframework.com/docs/native/diagnostic/#isGpsLocationEnabled only support android, Is there a way to check if the Gps on an IOS device is enabled?