code: def _validate_is_list(examples):
      if not isinstance(examples, list):
          raise MlflowException(
              f"Expected examples to be list, got {type(examples).__name__}",
              INVALID_PARAMETER_VALUE,
          )
  
imports: import logging
  import warnings
  from collections import defaultdict
  from typing import Any, Dict, List, Optional, Union
  import numpy
  import pandas
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.types import DataType
  from mlflow.types.schema import Array, ColSpec, Object, ParamSchema, ParamSpec, Property, Schema, TensorSpec
label_desc: Use image node_id 24 for calling a global function with example usage: _validate_is_list(examples) without return types