Checks if this RouteLeg object is equal to another object.
RouteLeg
true if the objects are equal, false otherwise.
The other object to compare.