isInteger check