input: Write a function to check if a given array can be split into two parts such that both parts have equal sum. If it is possible return True else return False. If the array is empty then return False.
  assert split_equal_sum([1, 2, 3, 4])==True
  assert split_equal_sum([1, 2, 3, 5])==False
  assert split_equal_sum([1, 3, 2, 2])==True
  assert split_equal_sum([1, 1, 1, 1, 1, 1, 3])==True
  assert split_equal_sum([])==False
output: def split_equal_sum(arr):
      if not arr:
          return False
      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