I remember it indeed exists a similar function, but it's not common and just appear in some test case, if not, I will reuse previous existing function.