code: def is_none_or_scalar(value):
      return value is None or np.isscalar(value[0])
  
file_path: pyqtgraph/tests/graphicsItems/PlotItem/test_PlotItem.py
imports: import numpy
  import pytest
  import pyqtgraph
label_desc: Use image node_id 2 for calling a global function with example usage: is_none_or_scalar(value) and returns: unknown