code: def app_to_context(self, context):
          
          if self.tagClass != Tag.applicationTagClass:
              raise ValueError("application tag required")
  
          # application tagged boolean now has data
          if (self.tagNumber == Tag.booleanAppTag):
              return ContextTag(context, chr(self.tagLVT))
          else:
              return ContextTag(context, self.tagData)
docs: Return a context encoded tag.