'Returns true if argument is a ASN1 subtype of ourselves'

def isSuperTypeOf(self, other, matchTags=True, matchConstraints=True):

    return (((not matchTags) or self._tagSet.isSuperTagSetOf(other.getTagSet())) and ((not matchConstraints) or self._subtypeSpec.isSuperTypeOf(other.getSubtypeSpec())))
