More legible comparison for isDigit()