Verify if artyom can obey orders or not according to the status of the internal obey property.

This method returns a boolean wheter artyom process commands or not (if it was paused using artyom.dontObey).

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());