code: def assert_non_empty_list(input_list, list_name):
      """
      Check that input list is not empty
      Parameters
      ----------
      input_list: list
      list_name: str
          Name of the list
      """
      if len(input_list) == 0:
          raise ValueError(
              "%s is a list of length 0 which is not valid" % list_name
          )
  
imports: import hashlib
  import logging
  import os
  import numpy
  import scipy
  from joblib import Parallel, delayed
  from brainiak.funcalign.srm import DetSRM
  from sklearn.base import BaseEstimator, TransformerMixin
  from sklearn.exceptions import NotFittedError
  import uuid
label_desc: Use image node_id 4 for calling a global function with example usage: assert_non_empty_list(input_list, list_name) without return types