Checks that all the components within modules are injected somewhere, except for the specified in the set passed as a parameter.
Run this check on the given list of modules.