Should use the built-in `required-capabilities` feature, especially since you specified the switch is lazy load.