import objc; l = objc.getClassList(); from Cocoa import CFLocaleCopyCommonISOCurrencyCodes, NSArray; isinstance(CFLocaleCopyCommonISOCurrencyCodes(), NSArray)
. This passes on macOS 13, but fails on macOS 14 beta’s due to rewriting parts of Cocoa in Swift. Narrowing this down took some time…