input: Write a function in python to split a given array into two parts with equal sum.
  
  assert split_equal_sum([1, 2, 3, 4])==False
  assert split_equal_sum([1, 2, 3, 3])==True
  assert split_equal_sum([10, -10, 10, -10])==True
  assert split_equal_sum([1, 1, 1, 2, 1])==True
  assert split_equal_sum([])==False
output: def split_equal_sum(arr):
      total_sum = sum(arr)
      if total_sum % 2 != 0:
          return False
      
      half_sum = total_sum // 2
      current_sum = 0
      
      for num in arr:
          current_sum += num
          if current_sum == half_sum:
              return True
          if current_sum > half_sum:
              return False
      
      return False