macOS Is There a Way to Programmatically Detect if 3 Finger Trackpad Dragging is Enabled (sandbox environment)?

Was wondering if there is a way to sniff the users trackpad settings for 3 finger dragging. The reason why I want to do this because I noticed a situation where NSScrollview sometimes scrolls during 3 finger dragging and swallows the 3 finger drag event.


To workaround this, I could subclass NSScrollview and block scrolling during 3 finger drag. But when 3 finger dragging preference is not set, there's really no point in blocking scrolling because scrolling with 3 fingers on the trackpad ought to be permitted when the user isn't using that gesture for dragging. But as far as I can tell, there's no way to tell if the user has the preference on or off.