code: def is_matplotlib_installed():
      try:
          import matplotlib  # noqa: F401
  
          return True
      except ImportError:
          return False
  
file_path: mlflow/tests/sklearn/test_sklearn_autolog_without_matplotlib.py
imports: from unittest import mock
  import pytest
  from sklearn.datasets import load_breast_cancer
  from sklearn.ensemble import RandomForestClassifier
  import mlflow
  from mlflow import MlflowClient
  from tests.helper_functions import AnyStringWith
label_desc: Use image node_id 1 for calling a global function with example usage: is_matplotlib_installed() and returns: True, False