A bit scary this comparison:

    if all((tolerance, imgPixelWidth, mapMeterWidth))