code: def test_check_databricks_secret_scope_access():
      mock_dbutils = mock.MagicMock()
      mock_dbutils.secrets.list.return_value = "random"
      with mock.patch(
          "mlflow.utils.databricks_utils._get_dbutils",
          return_value=mock_dbutils,
      ):
          check_databricks_secret_scope_access("scope")
          mock_dbutils.secrets.list.assert_called_once_with("scope")
  
imports: import builtins
  import sys
  from unittest import mock
  import pytest
  from databricks_cli.configure.provider import DatabricksConfig
  from mlflow.exceptions import MlflowException
  from mlflow.utils import databricks_utils
  from mlflow.utils.databricks_utils import check_databricks_secret_scope_access, get_mlflow_credential_context_by_run_id, get_workspace_info_from_databricks_secrets, get_workspace_info_from_dbutils, is_databricks_default_tracking_uri, is_running_in_ipython_environment
  from mlflow.utils.uri import construct_db_uri_from_profile
  from tests.helper_functions import mock_method_chain
label_desc: Use image node_id 21 for calling a global function with example usage: test_check_databricks_secret_scope_access() without return types