Factor out a repeated `config.no_integrated_as` test.
Factor out a repeated `config.no_integrated_as` test.

graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust,graydon/rust