python check if value is not integer