Add isInheritor and isInheritorOf methods