pub fn verify(input_with_check: &str) -> bool
Verifies a string whose last character is its check character.