---
title: "checkValidity(ofToken:completionHandler:)"
framework: coretelephony
role: symbol
role_heading: Type Method
path: "coretelephony/ctcellularplanstatus/checkvalidity(oftoken:completionhandler:)"
---

# checkValidity(ofToken:completionHandler:)

Checks for a valid ICCID associated with the token.

## Declaration

```swift
class func checkValidity(ofToken token: String, completionHandler: @escaping @Sendable (Bool, (any Error)?) -> Void)
```

```swift
class func checkValidity(ofToken token: String) async throws -> Bool
```

## Discussion

Discussion This boolean returns YES if the ICCID associated with the token is present and turned-on.
