in gamelift-daemon/src/ec2_metadata/ec2_metadata.py [0:0]
def __eq__(self, other): return ( isinstance(other, NetworkInterface) and self.mac == other.mac and self.parent == other.parent )