input: Write a python function to find an element in an array.
  assert findElement([1, 2, 3, 4, 5], 3) == True
  assert findElement([1, 2, 3, 4, 5], 6) == False
  assert findElement(['apple', 'banana', 'cherry'], 'banana') == True
  assert findElement(['apple', 'banana', 'cherry'], 'grape') == False
output: def findElement(array, element):
      return element in array