#NEWLINE# def is_security_group_member_updated( self , context , original_port , updated_port ) : #NEWLINE# #INDENT# 'Check security group member updated or not.\n\n        This method returns a flag which indicates request notification\n        is required and does not perform notification itself.\n        It is because another changes for the port may require notification.\n        ' #NEWLINE# need_notify = False #NEWLINE# if ( ( original_port [ 'fixed_ips' ] != updated_port [ 'fixed_ips' ] ) or ( updated_port [ 'mac_address' ] != updated_port [ 'mac_address' ] ) or ( not utils . compare_elements ( original_port . get ( ext_sg . SECURITYGROUPS ) , updated_port . get ( ext_sg . SECURITYGROUPS ) ) ) ) : #NEWLINE# #INDENT# need_notify = True #NEWLINE# #UNINDENT# return need_notify