code: def retrieve(self,aclass):
          
          resu=[]
          for x in self.payload:
              try:
                  if isinstance(aclass,str):
                      if x.name == aclass:
                          resu.append(x)
                  else:
                      if isinstance(x,aclass):
                          resu.append(x)
  
                  resu+=x.retrieve(aclass)
              except:
                  pass
          return resu
docs: Look for a specifc class/name in the packet