Build Script: Check Build for App Store?

Is it possible to check within a build script if “Build For App Store” is enabled in the iOS settings?

Guess not, so I made a feature request: feedback://showreport?report_id=44688