if we think the compiler pass should be optional, i would rather provide a config option in Configuratoin that the DI class puts into the container to disable it and check that parameter here.