What is the proper way to check if my application is set as the default browser since LSCopyDefaultHandlerForURLScheme is deprecated on 10.15?

I get a bundle ID reference when I do:

```swift
let bundleID = LSCopyDefaultHandlerForURLScheme("http" as CFString)?.takeRetainedValue() { ... }

```

And then I could just compare `bundleID` with `Bundle.main.bundleIdentifier`.

If I use *LSCopyDefaultApplicationURLForURL* instead, I get an URL. In order to compare my application bundle ID against LSCopyDefaultApplicationURLForURL, I would need to access the bundle of the URL which my application might not have access to due to sandboxing.

Any suggestions?