'Indicate if this |ASN.1| object is a prefix of other |ASN.1| object.
Parameters
other: |ASN.1| object
|ASN.1| object
Returns
: :class:`bool`
:class:`True` if this |ASN.1| object is a parent (e.g. prefix) of the other |ASN.1| object
or :class:`False` otherwise.'

def isPrefixOf(self, other):

    l = len(self)
    if (l <= len(other)):
        if (self._value[:l] == other[:l]):
            return True
    return False
