def validate(self):
     AWSResponse.validate(self)
     if (self.responsedict["isValid"] == True):
         if (len(self.dom.getElementsByTagName("OfferSummary")) != 1 and
                 len(self.dom.getElementsByTagName("ItemAttributes")) != 1):
             self.responsedict["isValid"] = False
 def validate(self):
     AWSResponse.validate(self)
     if(self.responsedict["isValid"] == True):
         if(len(self.dom.getElementsByTagName("OfferSummary")) != 1 and len(self.dom.getElementsByTagName("ItemAttributes")) != 1):
             self.responsedict["isValid"] = False
 def __init__(self, respfile):
     AWSResponse.__init__(self, respfile)
 def __init__(self, respfile):
     AWSResponse.__init__(self, respfile)