def isPrefixOf(self, value):
        """Returns true if argument OID resides deeper in the OID tree"""
        l = len(self)
        if l <= len(value):
            if self._value[:l] == value[:l]:
                return 1
        return 0
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/pyasn1/type/univ.py/ObjectIdentifier.isPrefixOf/original