class_docstr: Provides threadsafe utilities to modify warning behavior for MLflow autologging, including:
  
  - Global disablement of MLflow warnings across all threads
  - Global rerouting of MLflow warnings to an MLflow event logger (i.e. `logger.warning()`)
    across all threads
  - Disablement of non-MLflow warnings for the current thread
  - Rerouting of non-MLflow warnings to an MLflow event logger for the current thread
code: def _should_patch_showwarning(self):
      return (
          (len(self._disabled_threads) > 0)
          or (len(self._rerouted_threads) > 0)
          or self._mlflow_warnings_disabled_globally
          or self._mlflow_warnings_rerouted_to_event_logs
      )
  
imports: import os
  import warnings
  from contextlib import contextmanager
  from pathlib import Path
  from threading import RLock
  from threading import get_ident
  import mlflow
  from mlflow.utils import logging_utils
label_desc: Use image node_id 3 for calling the _WarningsController obj's underlying member method code with example usage: obj._should_patch_showwarning() and returns: unknown