code: def _validate_experiment_id(exp_id):
      """Check that `experiment_id`is a valid string or None, raise an exception if it isn't."""
      if (
          exp_id is not None
          and _EXPERIMENT_ID_REGEX.match(exp_id) is None
      ):
          raise MlflowException(
              f"Invalid experiment ID: '{exp_id}'",
              error_code=INVALID_PARAMETER_VALUE,
          )
  
imports: import numbers
  import posixpath
  import re
  from typing import List
  from mlflow.entities import Dataset, DatasetInput, InputTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.store.db.db_types import DATABASE_ENGINES
  from mlflow.utils.string_utils import is_string_type
label_desc: Use image node_id 16 for calling a global function with example usage: _validate_experiment_id(exp_id) without return types