# isObeying

该函数返回一个boolean类型的值，以判断 artyom 是否处理了的命令（如果希望暂停 obey 的状态则可以使用函数 artyom.dontObey）函数。

```javascript
if(artyom.isObeying()){
    // Artyom obey what you say, add some commands
}else{
    // Don't talk, artyom will not process what you say
}

/**
 *  Example
 */

// Don't execute any recognized command
artyom.dontObey();

// Outputs : false
console.log(artyom.isObeying());

// Obey orders again
artyom.obey();

// Outputs : true
console.log(artyom.isObeying());
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://more-about-angular.gitbook.io/artyom-js/api/isobeying.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
