Function isBoxedNumber