code: def _validate(self):
          
          for key in self:
              if key not in DEFAULTS:
                  raise exceptions.ConfigurationException(
                      'Unknown configuration key "{}"! Valid configuration keys are'
                      " {}".format(key, list(DEFAULTS.keys()))
                  )
  
          validate_queues(self["queues"])
          validate_bindings(self["bindings"])
          validate_client_properties(self["client_properties"])
docs: Perform checks on the configuration to assert its validity
  
          Raises:
              ConfigurationException: If the configuration is invalid.