Replace is_integer is False with is_noninteger