hasEmptyPath method

bool hasEmptyPath()

Implementation

bool hasEmptyPath() {
  // since EMPTY_RETURN_STATE can only appear in the last position, we check last one
  return getReturnState(length - 1) == EMPTY_RETURN_STATE;
}