code: def test_mean_function_only_expectations(
      distribution: ProbabilityDistribution,
      mean1: mf.MeanFunction,
      mean2: mf.MeanFunction,
      arg_filter: Callable[
          [ProbabilityDistribution, mf.MeanFunction, mf.MeanFunction],
          Iterable[Any],
      ],
  ) -> None:
      params = arg_filter(distribution, mean1, mean2)
      _check(params)
  
imports: from typing import Any, Callable, Iterable, Mapping, Optional, Sequence
  import numpy
  import pytest
  import tensorflow
  from numpy.testing import assert_allclose
  from tensorflow import convert_to_tensor
  import gpflow
  import gpflow.inducing_variables
  import gpflow.kernels
  from gpflow import mean_functions
  from gpflow.base import AnyNDArray
  from gpflow.config import default_float
  from gpflow.expectations import expectation, quadrature_expectation
  from gpflow.probability_distributions import DiagonalGaussian, Gaussian, MarkovGaussian, ProbabilityDistribution
label_desc: Use image node_id 7 for calling a global function with example usage: test_mean_function_only_expectations(distribution, mean1, mean2, arg_filter) without return types