code: def _index_or_none(array, shuffle_index):
      if array is None:
          return None
      else:
          return array[shuffle_index]
  
imports: import numpy
  from sklearn.utils import murmurhash3_32
  from spotlight.interactions import Interactions
label_desc: Use image node_id 1 for calling a global function with example usage: _index_or_none(array, shuffle_index) and returns: None, array