human
if last item in list.
assistant
Here is a Python function to determine if the last item in the list is the last item

import collections

def _LastItem(list):
  """Helper that returns the last item in the list."""
  return list[-1]

# Enter the list
list = [1, 2, 3]

# Calling the function
print((_LastItem(list)))

#Example Output
# 3

#Remember to inspect code for bugs.