SparseEnv.check_task#

SparseEnv.check_task() bool#

Check whether the agent has reached the green target cell.

Returns:

True if the agent is at the target position, False otherwise.

Return type:

bool