input: Write a function to determine if it is possible to split a given array into two parts with equal sum. If it is possible return True else return False.
  assert split_equal_sum([1, 2, 3, 4])==True
  assert split_equal_sum([2, 4, 6, 8])==True
  assert split_equal_sum([10, 1, 4, 6])==False
  assert split_equal_sum([2, 3, 5, 10])==False
  assert split_equal_sum([1, 3, 5, 7])==False
  assert split_equal_sum([])==False
output: def split_equal_sum(arr):
      total_sum = sum(arr)
      if total_sum % 2 != 0:
          return False
      target_sum = total_sum // 2
      current_sum = 0
      for num in arr:
          current_sum += num
          if current_sum == target_sum:
              return True
      return False