Checking an NSUserDefault directly for Lockdown Mode is clunky. Instead, we should use the relevant framework method to check the status.
<rdar://problem/101775825>
Pull request: https://github.com/WebKit/WebKit/pull/11049
Committed 261233@main (f71852e43526): <https://commits.webkit.org/261233@main> Reviewed commits have been landed. Closing PR #11049 and removing active labels.