#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def get_state( self , target_user , as_event = False ) : #NEWLINE# #INDENT# results = ( yield self . get_states ( [ target_user . to_string ( ) ] , as_event = self ) ) #NEWLINE# defer . returnValue ( results [ 0 ] )