#NEWLINE# @ expose ( 'struct?' , [ values . W_Object ] , simple = False ) #NEWLINE# def do_is_struct( v , env , cont ) : #NEWLINE# #INDENT# from pycket.interpreter import return_value #NEWLINE# current_inspector = values_struct . current_inspector_param . get ( cont ) #NEWLINE# result = ( isinstance ( v , values_struct . W_RootStruct ) and current_inspector . has_control ( v . struct_type ( ) ) ) #NEWLINE# return return_value ( values . W_Bool . make ( result ) , env , cont )