python if value is not integer