docs: def ensure_compliance(self):
          """Ensures that the modules are not loaded."""
          if not self.modules:
              return
  
          try:
              loaded_modules = self._get_loaded_modules()
              non_compliant_modules = []
              for module in self.modules:
                  if module in loaded_modules:
                      log("Module '%s' is enabled but should not be." %
                          (module), level=INFO)
                      non_compliant_modules.append(module)
  
              if len(non_compliant_modules) == 0:
                  return
  
              for module in non_compliant_modules:
                  self._disable_module(module)
              self._restart_apache()
          except subprocess.CalledProcessError as e:
              log('Error occurred auditing apache module compliance. '
                  'This may have been already reported. '
                  'Output is: %s' % e.output, level=ERROR)