code: def is_testing():
      """
      Indicates whether or not autologging functionality is running in test mode (as determined
      by the `MLFLOW_AUTOLOGGING_TESTING` environment variable). Test mode performs additional
      validation during autologging, including:
  
          - Checks for the exception safety of arguments passed to model training functions
            (i.e. all additional arguments should be "exception safe" functions or classes)
          - Disables exception handling for patched function logic, ensuring that patch code
            executes without errors during testing
      """
      return _MLFLOW_AUTOLOGGING_TESTING.get()
  
imports: import abc
  import functools
  import inspect
  import itertools
  import typing
  import uuid
  from abc import abstractmethod
  from contextlib import contextmanager
  import mlflow
  import mlflow.utils.autologging_utils
  from mlflow.entities.run_status import RunStatus
  from mlflow.environment_variables import _MLFLOW_AUTOLOGGING_TESTING
  from mlflow.tracking.client import MlflowClient
  from mlflow.utils import gorilla, is_iterator
  from mlflow.utils.autologging_utils import _logger
  from mlflow.utils.autologging_utils.events import AutologgingEventLogger
  from mlflow.utils.autologging_utils.logging_and_warnings import set_mlflow_events_and_warnings_behavior_globally, set_non_mlflow_warnings_behavior_for_current_thread
  from mlflow.utils.mlflow_tags import MLFLOW_AUTOLOGGING
label_desc: Use image node_id 6 for calling a global function with example usage: is_testing() and returns: _MLFLOW_AUTOLOGGING_TESTING