code: def test_is_variable(value: Any, expected: bool) -> None:
      assert expected == is_variable(value)
  
file_path: GPflow/tests/gpflow/utilities/test_misc.py
imports: from typing import Any, Union
  import numpy
  import pytest
  import tensorflow
  import tensorflow_probability
  from gpflow.base import Parameter
  from gpflow.utilities import is_variable, to_default_float
label_desc: Use image node_id 1 for calling a global function with example usage: test_is_variable(value, expected) without return types