docs: def compatible(self, a, b):
          """Return `True` if type *a* is compatible with type *b*."""
          return len(set([a] + self.descendants(a))
                     .intersection([b] + self.descendants(b))) > 0