---
title: isValid
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcard/isvalid
---

# isValid

Whether the Smart Card is valid and accessible from its slot.

## Declaration

```swift
var isValid: Bool { get }
```

## Discussion

Discussion Use Key-Value-Observing to be notified for changes to accessibility, such as when a Smart Card is physically removed from its slot. For more information, see Key-Value Observing Programming Guide.

## See Also

### Configuring the Smart Card

- [slot](cryptotokenkit/tksmartcard/slot.md)
- [isSensitive](cryptotokenkit/tksmartcard/issensitive.md)
- [context](cryptotokenkit/tksmartcard/context.md)
