List.keymember?/3

defmodule List do
  def keymember?(list, key, index)
end

Receives a list of tuples and returns true if there is a tuple where the index-th element is the given key.

Otherwise it returns false.