input: Write a function to check if a given element exists within a provided list of integers. The function should return True if the element exists in the list, otherwise it should return False.
  
  def element_exists(elem, list_int):
    return elem in list_int
  
  assert element_exists(5, [1, 2, 3, 4, 5])==True
  assert element_exists(0, [1, 2, 3, 4, 5])==False
  assert element_exists(3, [3, 3, 3, 3, 3])==True
  assert element_exists(7, [])==False
  assert element_exists(1, [1])==True
output: def element_exists(elem, list_int):
    return elem in list_int