code: def test_autolog_call_idempotent():
      mlflow.spark.autolog()
      listener = _get_current_listener()
      mlflow.spark.autolog()
      assert _get_current_listener() == listener
  
file_path: mlflow/tests/spark/autologging/datasource/test_spark_datasource_autologging_unit.py
imports: from unittest import mock
  import pytest
  import mlflow
  import mlflow.spark
  from mlflow._spark_autologging import PythonSubscriber, _get_current_listener
  from mlflow.exceptions import MlflowException
  from tests.spark.autologging.utils import _get_or_create_spark_session
label_desc: Use image node_id 3 for calling a global function with example usage: test_autolog_call_idempotent() without return types