input: ### Response:
  
  
  def element_exists(elem: int, list_int: List[int]) -> bool:
      """ Checks if an element exists within a given list of integers.
      >>> element_exists(3, [1, 2, 3, 4, 5])
      True
      >>> element_exists(6, [1, 2, 3, 4, 5])
      False
      """
      return elem in list_int
output:     for num in list_int:
          if num == elem:
              return True
      return False