code: def test_configuration_config(explanation_type, mask_type):
      if (
          explanation_type != "invalid"
          and mask_type is not None
          and mask_type != "invalid"
      ):
          config = ExplainerConfig(explanation_type, mask_type, None)
          assert config.explanation_type.value == explanation_type
          assert config.node_mask_type.value == mask_type
      else:
          with pytest.raises(ValueError):
              ExplainerConfig(explanation_type, mask_type, mask_type)
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_configuration_config(explanation_type, mask_type) without return types