def contains(self, other):
        if self == other:
            return 1
        if not isinstance(other, DistinguishedName):
            other=DistinguishedName(other)
        its=list(other.split())
        mine=list(self.split())

        while mine and its:
            m=mine.pop()
            i=its.pop()
            if m!=i:
                return 0
        if mine:
            return 0
        return 1
|CorePropertiesPart| object related to this package. Creates
dataset/ETHPy150Open antong/ldaptor/ldaptor/protocols/ldap/distinguishedname.py/DistinguishedName.contains--crossover with--dataset/ETHPy150Open python-openxml/python-docx/docx/opc/package.py/OpcPackage._core_properties_part