From this post, it is clear there was API as such to know if the FDA was granted or not. https://developer.apple.com/forums/thread/114452
But this post is 4 years old.
I tried to find one that would ease my work, but to my surprise we are still there.
So how an Application decide to know if FDA given then proceed, otherwise show a custom message/screen etc?
Apple should expose and API in Terminal, Plist, Cocoa.