code: def handle_empty_insertion(new_items):
      r"""
      Handle inserting new items to an empty list, by concatenating all new items
      Warning if multiple items are fed.
  
      :param list new_items: list
      :return list: new list
      """
  
      if len(new_items) > 1:
          logger.warning(
              "Trying to add multiple items into an empty list."
          )
      appended_items = []
      for items in new_items:
          appended_items.extend(
              [items] if not isinstance(items, list) else items
          )
      return appended_items
  
imports: import copy
  import random
  from .logger import logger
label_desc: Use image node_id 8 for calling a global function with example usage: handle_empty_insertion(new_items) and returns: appended_items