#NEWLINE# def DEFINED_CONSTANT( self , space , bytecode , frame , pc , idx ) : #NEWLINE# #INDENT# space . getexecutioncontext ( ) . last_instr = pc #NEWLINE# w_name = bytecode . consts_w [ idx ] #NEWLINE# w_scope = frame . pop ( ) #NEWLINE# if space . is_true ( space . send ( w_scope , 'const_defined?' , [ w_name ] ) ) : #NEWLINE# #INDENT# frame . push ( space . newstr_fromstr ( 'constant' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# frame . push ( idx . w_nil )