Accessing if an action has finished using a class method (instead of checking the change of state of each robot)