input: Write a python function to check if all elements in a list are equal.
  assert checkEqual([1, 1, 1, 1]) == True
  assert checkEqual([1, 2, 1, 1]) == False
  assert checkEqual([]) == False
output: def checkEqual(lst):
      if not lst:
          return False
      return all(x == lst[0] for x in lst)