check if integer is negative python