code: def test_multi_agent_invalid_override_configs(self):
      self.assertRaisesRegex(
          KeyError,
          "Invalid property name invdli for config class PPOConfig",
          lambda: (
              PPOConfig().multi_agent(
                  policies={
                      "p0": PolicySpec(
                          config=PPOConfig.overrides(invdli=42.0)
                      ),
                  }
              )
          ),
      )
      self.assertRaisesRegex(
          KeyError,
          "Invalid property name invdli for config class PPOConfig",
          lambda: (
              PPOConfig().multi_agent(
                  policies={
                      "p0": PolicySpec(
                          config=PPOConfig.overrides(invdli=42.0)
                      ),
                  }
              )
          ),
      )
  
file_path: ray/python/ray/rllib/utils/tests/test_check_multi_agent.py
imports: import unittest
  from ray.rllib.algorithms.ppo import PPOConfig
  from ray.rllib.policy.policy import PolicySpec
label_desc: Use image node_id 4 for calling the TestCheckMultiAgent obj's underlying member method code with example usage: obj.test_multi_agent_invalid_override_configs() without return types