<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.9.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPrinter/isKey:inTable:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPrinter(im)isKey:inTable:"
  },
  "title" : "isKey:inTable:"
}
-->

# isKey:inTable:

Returns a Boolean value that indicates whether the specified key is in the specified table.

```
- (BOOL) isKey:(NSString *) key inTable:(NSString *) table;
```

## Parameters

`key`

The key whose value you want.

`table`

The name of a table from the printer’s PPD file.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the key is in the table; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)