code: def test_rotation(
      data: dict, params: dict, expected: Union[float, dict, bool]
  ):
      out = rotation(arr=data, **params)
      assert np.any(out != data) == expected, "Test failed."
  
imports: import pytest
  from pytest_lazyfixture import lazy_fixture
  from quantus.helpers import utils
  from quantus.functions.perturb_func import *
label_desc: Use image node_id 17 for calling a global function with example usage: test_rotation(data, params, expected) without return types