#NEWLINE# def IsInitialized( self , debug_strs = None ) : #NEWLINE# #INDENT# initialized = 1 #NEWLINE# if ( not self . has_image_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: image not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( not self . image_ . IsInitialized ( debug_strs ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# #UNINDENT# for p in self . transform_ : #NEWLINE# #INDENT# if ( not p . IsInitialized ( debug_strs ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . has_output_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( initialized is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: output not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( not self . output_ . IsInitialized ( debug_strs ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# #UNINDENT# if ( self . has_input_ and ( not self . input_ . IsInitialized ( debug_strs ) ) ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# #UNINDENT# return initialized