is_descendent

is_descendent(reference, ancestor, /, **kwargs)[source]

Check if the refeference is a descendant of the ancestor.

Parameters:
  • reference (str | NormalizedNamableReference)

  • ancestor (str | NormalizedNamableReference)

  • kwargs (Unpack[HierarchyKwargs])

Return type:

bool