code: def test_name_validation(name_and_is_valid):
      name, is_valid = name_and_is_valid
      if is_valid:
          _validate_class_name(name)
      else:
          with pytest.raises(ValueError):
              _validate_class_name(name)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_name_validation(name_and_is_valid) without return types