#NEWLINE# def match( self , dev_dict ) : #NEWLINE# #INDENT# conditions = [ ( self . vendor_id in ( ANY , dev_dict [ 'vendor_id' ] ) ) , ( self . product_id in ( ANY , dev_dict [ 'product_id' ] ) ) , self . address . match ( dev_dict [ 'address' ] , dev_dict . get ( 'parent_addr' ) ) ] #NEWLINE# return all ( conditions )