You can check whether a specified State was visited by calling the following command
public boolean wasInState(String stateName) {
...
}
Cameo Simulation Toolkit 19.0 LTR SP3 Documentation
You can check whether a specified State was visited by calling the following command
public boolean wasInState(String stateName) {
...
}