input: Write a function that creates a loop in Python to print each item of a given list with a specified message. The function should accept a list as an input and print each element in the list followed by the message "The item is: {}". If the given list is empty, the function should print a message indicating that the list is empty. If the list contains items, the function should print the item and the message for each item in the list.
  
  1. Define a function named `print_list_items` that takes one parameter `my_list`.
  2. Check if the list is empty. If it is empty, print "The list is empty."
  3. If the list is not empty, loop through each item in the list and print "The item is: {}" using the `format` method to insert the item.
  
  assert print_list_items(['A', 'B', 'C', 'D'])==None
  assert print_list_items([])==None
  assert print_list_items(['X'])==None
output: def print_list_items(my_list):
      if not my_list:
          print("The list is empty.")
      else:
          for item in my_list:
              print("The item is: {}".format(item))