success method

bool success()

Implementation

bool success() {
  return getCurrentState().equals(getFinalState());
}