is_ancestor_prim_type

omni.usd.is_ancestor_prim_type(stage: Stage, prim_path: Path, prim_type: SchemaBase)

Internal. If any parent prims of the prim are specific type.