Check whether a list of candidate classes contains a partial superset of
a given class In inheritance chains where each class extends at most one
other class, this basically checks whether there is an (indirect)
ancestor of the class in the candidates list.
Check whether a list of candidate classes contains a defining superset of
a given class In inheritance chains where each class extends at most one
other class, this basically checks whether there is an (indirect)
ancestor of the class in the candidates list.