On the V3 and V3 HP versions you can read 0x0c, 0x0d and 0x0e over i2c to compute signal strength and detect invalid measurements.
However, when the V4 LED is near its maximum range it just returns garbage without any indication that the signal is terrible. Is there a way to capture signal quality or detect failure on the V4?