pub fn is_valid(id: &str) -> bool
Check if the given string is a valid ID number.
assert_eq!(true, taiwan_id::is_valid("A123456789")); assert_eq!(false, taiwan_id::is_valid("A987654321"));