Is there an ABI-compatible way to retrieve class inheritance hierarch?

Hi,
Is there an ABI-compatible way to retrieve class inheritance hierarch?
I'm using GitHub - wickwirew/Runtime: A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties. to achieve this and it works great but I'm not sure if it's safe to use in production.