if let result = try? checkPassword("password") { print("Result was (result)") } else { print("D'oh.") }