Check if a number is one of the natural numbers