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