#NEWLINE# def IsInitialized( self , debug_strs = None ) : #NEWLINE# #INDENT# initialized = 1 #NEWLINE# if ( not self . has_topic_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: topic not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . has_sub_id_ ) : #NEWLINE# #INDENT# initialized = 0 #NEWLINE# if ( debug_strs is not None ) : #NEWLINE# #INDENT# debug_strs . append ( 'Required field: sub_id not set.' ) #NEWLINE# #UNINDENT# #UNINDENT# return initialized