#NEWLINE# def IsInitialized( self , debug_strs = None ) : #NEWLINE# #INDENT# initialized = 1 #NEWLINE# for p in self . image_ : #NEWLINE# #INDENT# if ( not p . IsInitialized ( debug_strs ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# #UNINDENT# for p in self . options_ : #NEWLINE# #INDENT# if ( not p . IsInitialized ( debug_strs ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . has_canvas_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: canvas not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( not self . canvas_ . IsInitialized ( debug_strs ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# #UNINDENT# return initialized