def __eq__(self, other):
return all([isinstance(other, Frame),<EOL>self.cmd == other.cmd,<EOL>self.headers == other.headers,<EOL>self.body == other.body])<EOL>
Override equality checking to test for matching command, headers, and body.