code: def test_model_bias_monitor_invalid_create(
      model_bias_monitor, sagemaker_session
  ):
      # invalid: analysis config is missing
      with pytest.raises(ValueError):
          _test_model_bias_monitor_create_schedule(
              model_bias_monitor=model_bias_monitor,
              sagemaker_session=sagemaker_session,
          )
  
      # invalid: can not create new job definition if one already exists
      model_bias_monitor.job_definition_name = JOB_DEFINITION_NAME
      with pytest.raises(ValueError):
          _test_model_bias_monitor_create_schedule(
              model_bias_monitor=model_bias_monitor,
              sagemaker_session=sagemaker_session,
              analysis_config=ANALYSIS_CONFIG_S3_URI,
              constraints=CONSTRAINTS,
          )
  
      # invalid: can not create new schedule if one already exists
      model_bias_monitor.job_definition_name = None
      model_bias_monitor.monitoring_schedule_name = SCHEDULE_NAME
      with pytest.raises(ValueError):
          _test_model_bias_monitor_create_schedule(
              model_bias_monitor=model_bias_monitor,
              sagemaker_session=sagemaker_session,
              analysis_config=ANALYSIS_CONFIG_S3_URI,
              constraints=CONSTRAINTS,
          )
  
imports: from __future__ import print_function, absolute_import
  import copy
  import json
  import time
  from mock import patch, Mock, MagicMock
  import pytest
  from sagemaker.clarify import BiasConfig, DataConfig, ModelConfig, SHAPConfig, ModelPredictedLabelConfig
  from sagemaker.model_monitor import BiasAnalysisConfig, Constraints, CronExpressionGenerator, EndpointInput, BatchTransformInput, ExplainabilityAnalysisConfig, ModelBiasMonitor, ModelExplainabilityMonitor, MonitoringExecution, NetworkConfig
  from sagemaker.model_monitor.clarify_model_monitoring import ClarifyModelMonitor, ClarifyBaseliningJob, ClarifyMonitoringExecution
  from sagemaker.model_monitor.dataset_format import MonitoringDatasetFormat
label_desc: Use image node_id 25 for calling a global function with example usage: test_model_bias_monitor_invalid_create(model_bias_monitor, sagemaker_session) without return types