Privacy settings full disk access

Using AppleScriptObjC, is there a reliable method to test if an Xcode app is granted to access full disk?