Is this pattern used in many places apart from here?

If yes, then I would suggest creating a "isSmaller" function and use this one, instead of following the pattern !true all the time