class_docstr: Adapter that handles lists of scalars and lists of lists of scalars.
code: def _is_list_of_scalars(inp):
      if isinstance(inp, scalar_types):
          return True
      if isinstance(inp, (list, tuple)):
          return ListsOfScalarsDataAdapter._is_list_of_scalars(inp[0])
      return False
  
file_path: elegy/elegy/data/list_adapter.py
imports: import typing
  import numpy
  from .array_adapter import ArrayDataAdapter
  from .data_adapter import DataAdapter
label_desc: Use image node_id 2 for calling the ListsOfScalarsDataAdapter obj's underlying member method code with example usage: obj._is_list_of_scalars(inp) and returns: False, True, ListsOfScalarsDataAdapter