isFinished

suspend fun AIAgent<*, *>.isFinished(): Boolean(source)

Checks whether the AI agent has reached a finished state.

Return

true if the current state of the AI agent is of type Finished, false otherwise.