code: def test_is_or_uses_llm_invalid_input(invalid_config):
      """Sanity checks for invalid config handling.
  
      These should all raise an exception.
  
      Args:
          invalid_config: An invalid argument to `config_uses_llm`
      """
      with pytest.raises(ValueError):
          config_uses_llm(invalid_config)
  
imports: from typing import Any, Dict, Optional
  import pytest
  from ludwig.constants import BASE_MODEL, BINARY, ENCODER, INPUT_FEATURES, MODEL_ECD, MODEL_GBM, MODEL_LLM, MODEL_TYPE, NAME, OUTPUT_FEATURES, TEXT, TYPE
  from ludwig.schema.encoders.text_encoders import BERTConfig
  from ludwig.schema.encoders.utils import get_encoder_cls
  from ludwig.schema.features.preprocessing.text import TextPreprocessingConfig
  from ludwig.schema.model_config import ModelConfig
  from ludwig.utils.config_utils import config_uses_llm
label_desc: Use image node_id 18 for calling a global function with example usage: test_is_or_uses_llm_invalid_input(invalid_config) without return types