New MathHelper function for checking if an integer is odd or not.