code: def test_builder_config_episode_metadata(self):
      for config in dataset_builder.MUJOCO_BUILDER_CONFIGS:
          if config.name in _mujoco_replay_datasets():
              self.assertTrue(
                  config.episode_metadata_keys,
                  f"Config {config.name} should contain episode metadata.",
              )
              self.assertFalse(
                  config.has_policy_metadata,
                  f"Config {config.name} should NOT contain policy metadata.",
              )
              self.assertFalse(
                  config.has_policy_last_fc_log_std,
                  (
                      f"Config {config.name} should NOT contain policy values for"
                      " last_fc_log_std."
                  ),
              )
          elif config.name in _mujoco_full_metadata_datasets():
              self.assertTrue(
                  config.episode_metadata_keys,
                  f"Config {config.name} should contain episode metadata.",
              )
              self.assertTrue(
                  config.has_policy_metadata,
                  f"Config {config.name} should contain policy metadata.",
              )
              self.assertTrue(
                  config.has_policy_last_fc_log_std,
                  (
                      f"Config {config.name} should contain policy values for"
                      " last_fc_log_std."
                  ),
              )
          else:
              self.assertFalse(
                  config.episode_metadata_keys,
                  f"Config {config.name} should NOT contain episode metadata.",
              )
              self.assertFalse(
                  config.has_policy_metadata,
                  f"Config {config.name} should NOT contain policy metadata.",
              )
              self.assertFalse(
                  config.has_policy_last_fc_log_std,
                  (
                      f"Config {config.name} should NOT contain policy values for"
                      " last_fc_log_std."
                  ),
              )
  
file_path: datasets/tensorflow_datasets/d4rl/dataset_builder_test.py
imports: import tensorflow
  from tensorflow_datasets.d4rl import dataset_builder
label_desc: Use image node_id 3 for calling the MujocoDatasetTest obj's underlying member method code with example usage: obj.test_builder_config_episode_metadata() without return types