#NEWLINE# def Validate( self ) : #NEWLINE# #INDENT# 'Verify that this Plist is valid.\n\n    Raises:\n      InvalidPlistError: the plist is not valid\n      PlistNotParsedError: the plist was not parsed\n    ' #NEWLINE# if ( not hasattr ( self , '_plist' ) ) : #NEWLINE# #INDENT# raise PlistNotParsedError #NEWLINE# #UNINDENT# for method in self . _validation_hooks : #NEWLINE# #INDENT# method ( ) #NEWLINE# #UNINDENT# if self . _VALIDATE_BASIC_CONFIG : #NEWLINE# #INDENT# self . _ValidateBasic ( self . _VALIDATE_BASIC_CONFIG )