python check if input is not integer