#NEWLINE# def send( self ) : #NEWLINE# #INDENT# for ( recipient , message ) in self . get_users_messages ( ) : #NEWLINE# #INDENT# phone_number = get_preferred_phone_number_for_recipient ( recipient ) #NEWLINE# if ( phone_number and has_notifications_enabled ( self . domain , recipient ) ) : #NEWLINE# #INDENT# send_sms ( self . domain , recipient , phone_number , message )