code: def test_interpolate(texture):
      assert isinstance(texture.interpolate, bool)
      for value in [True, False]:
          texture.interpolate = value
          assert texture.interpolate is value
          assert bool(texture.GetInterpolate()) is value
  
imports: import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista import examples
  from pyvista.core.errors import VTKVersionError
  from pyvista.plotting.texture import numpy_to_texture
label_desc: Use image node_id 12 for calling a global function with example usage: test_interpolate(texture) without return types