code: def validateDtdFinal(self, ctxt):
          
          if ctxt is None: ctxt__o = None
          else: ctxt__o = ctxt._o
          ret = libxml2mod.xmlValidateDtdFinal(ctxt__o, self._o)
          return ret
docs: Does the final step for the dtds validation once all the
            subsets have been parsed  basically it does the following
            checks described by the XML Rec - check that ENTITY and
            ENTITIES type attributes default or possible values matches
            one of the defined entities. - check that NOTATION type
            attributes default or possible values matches one of the
             defined notations.