# PDFViewer.isToolEnabled()

```ts
isToolEnabled(tool: ToolName): boolean
```

Whether a tool may run: covered by the license, not `false` in `tools`, and offered by the mode (Select, Pan and Search in every mode, Sign in `FORM_FILL` and `FULL`, the rest in `FULL` only). `toolbar.groups` does not affect it. Mirror it in your own chrome instead of duplicating the rule.

- Kind: method
- Since: 1.0.0

| Parameter | Type | Description |
| --- | --- | --- |
| `tool` | `ToolName` | The tool to ask about. |

Returns `boolean`

```ts
signButton.hidden = !viewer.isToolEnabled('sign');
```

Part of [PDFViewer](https://kernstra.com/docs/web-sdk/api/pdfviewer) in the Kernstra Web SDK 1.0.0 API reference.

Web page: https://kernstra.com/docs/web-sdk/api/pdfviewer/istoolenabled
