code: def validate(self, xml_input):
          
          parsed_xml = etree.parse(self._handle_xml(xml_input))
          try:
              return self.xmlschema.validate(parsed_xml)
          except AttributeError:
              raise CannotValidate('Set XSD to validate the XML')
docs: This method validate the parsing and schema, return a boolean