Add API function to get the merge status

zariz_get_merge_status()