code: def test_fill_line(
      self, xyz_levels: XYZ_Levels, want_fill: bool, want_line: bool
  ) -> None:
      x, y, z, levels = xyz_levels
  
      data = contour_data(
          x, y, z, levels, want_fill=want_fill, want_line=want_line
      )
      fill, line = data.fill_data, data.line_data
  
      if want_fill:
          assert isinstance(fill, FillData)
      else:
          assert fill is None
  
      if want_line:
          assert isinstance(line, LineData)
      else:
          assert line is None
  
imports: from __future__ import annotations
  import pytest
  from typing import TYPE_CHECKING
  import numpy
  from bokeh.plotting.contour import FillData, LineData, contour_data, from_contour
label_desc: Use image node_id 2 for calling the Test_contour_data obj's underlying member method code with example usage: obj.test_fill_line(xyz_levels, want_fill, want_line) without return types