code: def assert_attributions_order(order: str) -> None:
      """
      Assert that order is in pre-defined list.
  
      Parameters
      ----------
      order: string
          The different orders that attributions could be ranked in.
  
      Returns
      -------
      None
      """
      assert order in [
          "random",
          "morf",
          "lerf",
      ], "The order of sorting the attributions must be either random, morf, or lorf."
  
file_path: Quantus/quantus/helpers/asserts.py
imports: from typing import Callable, Tuple, Sequence, Union
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: assert_attributions_order(order) without return types