---
name: "kbHasTopic"
type: command
status: ok
groups: ["Conversations"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/kbHasTopic
revid: 319151
updated: 2022-05-13T09:23:15Z
---

# kbHasTopic

*Command · Conversations · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **local**

## Description

Check if conversation topic was registered to given person. See Conversations for more details.

## Syntax

```sqf
person kbHasTopic topicName
```

**Parameters:**

- `person`: [Object](../topics/Object.md)
- `topicName`: [String](../topics/String.md)

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
_obiHasTopic = player kbHasTopic "helloThereGeneralK";
```

### Example 2

```sqf
if (player kbHasTopic "dontShoot") then { player kbRemoveTopic "dontShoot"; };
```

## See also

Conversations · [kbAddTopic](../commands/kbAddTopic.md) · [kbTell](../commands/kbTell.md) · [kbReact](../commands/kbReact.md) · [kbRemoveTopic](../commands/kbRemoveTopic.md) · [kbAddDatabase](../commands/kbAddDatabase.md) · [kbAddDatabaseTargets](../commands/kbAddDatabaseTargets.md) · FSM · FSM Editor

<sub>Source: [BI Community Wiki — kbHasTopic](https://community.bistudio.com/wiki/kbHasTopic) (revision 319151).</sub>
