code: def assert_layer_order(layer_order: str) -> None:
      """
      Assert that layer order is in pre-defined list.
  
      Parameters
      ----------
      layer_order: string
          The various ways that a model's weights of a layer can be randomised.
  
      Returns
      -------
      None
      """
      assert layer_order in ["top_down", "bottom_up", "independent"]
  
file_path: Quantus/quantus/helpers/asserts.py
imports: from typing import Callable, Tuple, Sequence, Union
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: assert_layer_order(layer_order) without return types