code: def _check_store(store):
      if isinstance(store, np.ndarray):
          store = [store]
      if isinstance(store, (list, tuple)) and all(
          isinstance(s, np.ndarray) for s in store
      ):
          store = _Storer(*store)
      if not callable(store):
          raise TypeError(
              f"store must be callable, got type {type(store)}"
          )
      return store
  
file_path: mne-python/mne/_ola.py
imports: import numpy
  from scipy.signal import get_window
  from .utils import _ensure_int, logger, verbose
label_desc: Use image node_id 1 for calling a global function with example usage: _check_store(store) and returns: store