ACF5 is build completely differently than ACF4. To be honest, I can’t tell by looking at the function what in ACF5 may be similar, or even if there is anything similar.
I’m not really sure what this means
to determine if a taxonomy has parents or not
Can you explain more about what you need to do and why?