def collision(collection):
  """
  Returns an arbitrary item from the given collection that occurs at least
  twice, or None if there is no such item.
  """
  check = list(collection)
  for i in range(len(check)):
    against = check[i]
    for j in range(i+1, len(check)):
      if against == check[j]:
        return against

  return None