code: def test_legend_font(sphere):
      plotter = pv.Plotter()
      plotter.add_mesh(sphere)
      legend_labels = [["sphere", "r"]]
      legend = plotter.add_legend(
          labels=legend_labels,
          border=True,
          bcolor=None,
          size=[0.1, 0.1],
          font_family="times",
      )
      assert (
          legend.GetEntryTextProperty().GetFontFamily() == vtk.VTK_TIMES
      )
  
imports: import os
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.core.errors import MissingDataError, PyVistaDeprecationWarning
  from pyvista.plotting import _plotting
  from pyvista.plotting.errors import RenderWindowUnavailable
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 41 for calling a global function with example usage: test_legend_font(sphere) without return types