code: def validateDocumentFinal(self, ctxt):
          
          if ctxt is None: ctxt__o = None
          else: ctxt__o = ctxt._o
          ret = libxml2mod.xmlValidateDocumentFinal(ctxt__o, self._o)
          return ret
docs: Does the final step for the document validation once all
            the incremental validation steps have been completed
            basically it does the following checks described by the XML
            Rec  Check all the IDREF/IDREFS attributes definition for
             validity