Issue #3457688: Refactor external integration checks, catch exception when layout_builder is not enabled
Closes #3457688