code: def _check_mlflow_dependencies(
      msg=None, severity="error", suppress_import_stdout=False
  ):
      """Check if `mlflow` and its dependencies are installed.
  
      Parameters
      ----------
      msg: str, optional, default= default message (msg below)
          error message to be returned when `ModuleNotFoundError` is raised.
      severity: str, either of "error", "warning" or "none"
          behaviour for raising errors or warnings
          "error" - raises a `ModuleNotFound` if mlflow-related packages are not found.
          "warning" - raises a warning message if any mlflow-related package is not
              installed also returns False. In case all packages are present,
              returns True.
          "none" - does not raise any exception or warning and simply returns True
              if all packages are installed otherwise return False.
  
      Raise
      -----
      ModuleNotFoundError
          User Friendly error with a suggested action to install mlflow dependencies
  
      Returns
      -------
      boolean - whether all mlflow-related packages are installed.
      """
      if not isinstance(msg, str):
          msg = (
              "`mlflow` is an extra dependency and is not included "
              "in the base sktime installation. "
              "Please run `pip install mlflow` "
              "or `pip install sktime[mlflow]` to install the package."
          )
  
      return _check_soft_dependencies(
          "mlflow",
          msg=msg,
          severity=severity,
          suppress_import_stdout=suppress_import_stdout,
      )
  
file_path: sktime/sktime/utils/validation/_dependencies.py
imports: import io
  import sys
  import warnings
  from importlib import import_module
  from inspect import isclass
  from packaging.requirements import InvalidRequirement, Requirement
  from packaging.specifiers import InvalidSpecifier, SpecifierSet
label_desc: Use image node_id 3 for calling a global function with example usage: _check_mlflow_dependencies(msg, severity, suppress_import_stdout) and returns: _check_soft_dependencies