mlpy.agents.Agent.is_task_complete

Agent.is_task_complete()[source]

Check if the agent’s task is completed.

This could be because a terminal state was reached.

Returns:

bool :

The value of the termination flag.