Please provide API to check whether local network access permission is granted or denied

We value Apple's effort to protect user's privacy. However it would be really hard for developers to inform user what happens unless we can differentiate the real error VS user denies the local network access through an API. We're also seeing inconsistent behavior of the OS when we turn off local network access that the network will break at different spots (different set of requests went through / blocked every time).
This is related to WWDC20 Session 10110 - Support local network privacy in your app

Please provide API to check whether local network access permission is granted or denied
 
 
Q