code: def test_prophet_import():
      dynamic_module = find_spec("prophet")
      if dynamic_module is None:
          with pytest.raises(InvalidPostProcessingError):
              prophet(
                  df=prophet_df,
                  time_grain="P1M",
                  periods=3,
                  confidence_interval=0.9,
              )
  
file_path: superset/tests/unit_tests/pandas_postprocessing/test_prophet.py
imports: from datetime import datetime
  from importlib.util import find_spec
  import pandas
  import pytest
  from superset.exceptions import InvalidPostProcessingError
  from superset.utils.core import DTTM_ALIAS
  from superset.utils.pandas_postprocessing import prophet
  from tests.unit_tests.fixtures.dataframes import prophet_df
label_desc: Use image node_id 3 for calling a global function with example usage: test_prophet_import() without return types