code: def validateRoot(self, ctxt):
          
          if ctxt is None: ctxt__o = None
          else: ctxt__o = ctxt._o
          ret = libxml2mod.xmlValidateRoot(ctxt__o, self._o)
          return ret
docs: Try to validate a the root element basically it does the
            following check as described by the XML-1.0 recommendation:
            - [ VC: Root Element Type ] it doesn't try to recurse or
             apply other check to the element