input: Write a function to find the maximum number of consecutive equal elements in a list.
  assert check_consecutive_equal([1, 1, 2, 2, 2, 3, 4, 4]) == 3
  assert check_consecutive_equal([1, 2, 3, 4, 5]) == 1
  assert check_consecutive_equal([1, 1, 1, 1, 1]) == 5
output: def check_consecutive_equal(lst):
      if not lst:
          return 0
      max_count = 1
      current_count = 1
      for i in range(1, lst.length):
          if lst[i] == lst[i-1]:
              current_count += 1
              max_count = max(max_count, current_count)
          else:
              current_count = 1
      return max_count