Generate all ancestors of the Compound recursively.
mb.Compound – The next Compound above self in the hierarchy
Ester.ancestors()
mbuild_polybuild.aa_functional_groups.ester.Ester.all_ports
mbuild_polybuild.aa_functional_groups.ester.Ester.available_ports