code: def remove_list_items(elements, alist):
      r"""Remove one or more items from the given list.
  
      Parameters
      ----------
      elements : list
          The items to remove from the list ``alist``.
      alist : list
          Any object of any type can be a list item.
  
      Returns
      -------
      sublist : list
          The subset of items after removal.
  
      Examples
      --------
  
      >>> test_list = ['a', 'b', 'c', test_func]
      >>> remove_list_items([test_func], test_list)  # ['a', 'b', 'c']
  
      """
      sublist = [x for x in alist if x not in elements]
      return sublist
  
file_path: AlphaPy/alphapy/utilities.py
imports: from alphapy.globals import PSEP, SSEP, USEP
  import argparse
  from datetime import datetime, timedelta
  import glob
  import inspect
  from itertools import groupby
  import logging
  import numpy
  import os
  from os import listdir
  from os.path import isfile, join
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: remove_list_items(elements, alist) and returns: sublist