python check if integer is odd