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