code: def get_unique_list_of_option_args(all_args):
      """Returns a unique list of option args."""
      ret = []
      ret_names = []
      for arg in all_args:
          if arg["name"] not in ret_names:
              ret.append(arg)
              ret_names.append(arg["name"])
      return ret
  
imports: from argparse import Namespace
  import numpy
  from .cp_domain_utils import get_processed_from_raw_via_config, get_raw_from_processed_via_config, sample_from_cp_domain
  from ..utils.general_utils import map_to_bounds, flatten_list_of_lists
  from ..utils.oper_utils import direct_ft_maximise, latin_hc_sampling, pdoo_maximise, random_maximise
label_desc: Use image node_id 17 for calling a global function with example usage: get_unique_list_of_option_args(all_args) and returns: ret