code: def test_databricks_notebook_default_experiment_in_context():
      with mock.patch(
          "mlflow.utils.databricks_utils.is_in_databricks_notebook"
      ) as in_notebook_mock:
          assert (
              DatabricksNotebookExperimentProvider().in_context()
              == in_notebook_mock.return_value
          )
  
file_path: mlflow/tests/tracking/default_experiment/test_databricks_notebook_experiment_provider.py
imports: from unittest import mock
  from mlflow import MlflowClient
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.tracking.default_experiment.databricks_notebook_experiment_provider import DatabricksNotebookExperimentProvider
  from mlflow.utils.mlflow_tags import MLFLOW_EXPERIMENT_SOURCE_ID, MLFLOW_EXPERIMENT_SOURCE_TYPE
label_desc: Use image node_id 1 for calling a global function with example usage: test_databricks_notebook_default_experiment_in_context() without return types