code: def unique_names_check(name_list: Optional[List[str]]):
      """
      Performs a uniqueness check on the name list resolved, so that it can warn users
      about non-unique keys.
  
      Args:
          name_list: List of strings resolved for data loaders.
      """
      if name_list is None:
          return
  
      # Name uniqueness checks
      names = set()
      for name in name_list:
          if name in names:
              logging.warning(
                  "Name resolution has found more than one data loader having the same name !\n"
                  "In such cases, logs will nor be properly generated. "
                  "Please rename the item to have unique names.\n"
                  f"Resolved name : {name}"
              )
          else:
              names.add(name)
  
imports: import copy
  import importlib
  import os
  from dataclasses import dataclass, is_dataclass
  from enum import Enum
  from functools import lru_cache
  from pathlib import Path
  from typing import List, Optional, Tuple, Union
  import wrapt
  from nemo.utils import AppState, logging
  from nemo.utils.data_utils import resolve_cache_dir
  from nemo.utils.data_utils import is_datastore_path
label_desc: Use image node_id 3 for calling a global function with example usage: unique_names_check(name_list) without return types