code: def effectiveTagSet(self):
          
          if self.tagSet:
              return self.tagSet
          else:
              component = self.getComponent()
              return component.effectiveTagSet
docs: Return a :class:`~pyasn1.type.tag.TagSet` object of the currently initialized component or self (if |ASN.1| is tagged).