Implementing operator== for MessaageWrapper