input: Write a function to create a loop that prints each item of a given list with a specified message. If the given list is empty, print a message indicating that the list is empty. The function should have the following signature: `def print_list_items(my_list)`.
  assert print_list_items(['A', 'B', 'C', 'D']) == "The item is: A\nThe item is: B\nThe item is: C\nThe item is: D"
  assert print_list_items([]) == "The list is empty."
  assert print_list_items(['X', 'Y', 'Z']) == "The item is: X\nThe item is: Y\nThe item is: Z"
output: def print_list_items(my_list):
      if not my_list:
          print("The list is empty.")
      else:
          for item in my_list:
              print(f"The item is: {item}")