Why call this "isRPMTooHigh" but compare the rpm against the "MIN_DRAIN_PUMP_RPM"? Between MIN and MAX would be the natural valid range, similar to "isRPMOutOfRange", below.
Generally, as has been decided the current code should be untouched and just adding some extra functionality. Therefore, some block of code shall be seen to be added not the entire script. please keep your modifications only to what is changed and try to do not change the entire code.
The code changes should be so surgical in very focused space not everywhere.