code: def test_is_fwr():
      fig_dict = {"type": "scatter", "y": [1, 2, 3]}
      assert is_fwr(FigureWidgetResampler())
      assert is_fwr(FigureWidgetResampler(fig_dict))
      assert not is_fwr(go.FigureWidget())
      assert not is_fwr(go.FigureWidget(fig_dict))
      assert not is_fwr(go.Figure())
      assert not is_fwr(None)
      assert not is_fwr(fig_dict)
      assert not is_fwr(go.Scatter(y=[1, 2, 3]))
      assert not is_fwr(FigureResampler())
      assert not is_fwr(FigureResampler(fig_dict))
  
file_path: plotly-resampler/tests/test_utils.py
imports: import pandas
  import plotly.graph_objects
  from plotly_resampler import FigureResampler, FigureWidgetResampler
  from plotly_resampler.figure_resampler.utils import is_figure, is_figurewidget, is_fr, is_fwr, round_number_str, round_td_str, timedelta_to_str
label_desc: Use image node_id 4 for calling a global function with example usage: test_is_fwr() without return types