#NEWLINE# def IsInitialized( self , debug_strs = None ) : #NEWLINE# #INDENT# initialized = 1 #NEWLINE# if ( not self . has_source_index_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: source_index not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . has_x_offset_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: x_offset not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . has_y_offset_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: y_offset not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( not initialized . has_opacity_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: opacity not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . has_anchor_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: anchor not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# return initialized