equals
Checks if this Body object is equal to the specified other object.
Two Body objects are considered equal if they meet the following conditions:
The two objects have the same class type.
The goalCode, comment, willConfirm, and proofTypes properties of the two objects are also equal.
Return
true if the specified other object is equal to this Body object, false otherwise.
Parameters
other
The object to compare with this Body object.