#NEWLINE# def _if_valid_arp_request( self , arp_request_payload ) : #NEWLINE# #INDENT# '\n    Check if the ARP query requests any interface of this host.\n    If so, return the corresponding interface.\n    ' #NEWLINE# for interface in self . interfaces : #NEWLINE# #INDENT# if ( self . protodst in interface . ips ) : #NEWLINE# #INDENT# return interface #NEWLINE# #UNINDENT# #UNINDENT# return None