isNumber helper.