As already stated in this thread: https://forums.autodesk.com/t5/fusion-360-support/model-precision-of-created-objects/
Fusion 360 seems not be very precise on the 'Nano level' 10.000000XXX mm where 'XXX' is the nano lvl. Cause of that it makes no sense to compare floats with '==' cause then the nano lvl will make a difference.
Better would be to use a method like math.isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0) (src)
which returns True if the values a and b are close to each other and False otherwise. Or simply ignoring the last digits of a float while comparing.
The isEqualTo() method could then be supplemented by a rel_tol=1e-09 and an abs_tol=0.0.
Greets Fabi