public function isPenultimate($identifier) {
        $this->getLast();
        $iterator = $this->getIterator();
        $iterator->seek($iterator->count() - 2);
        $penultimate = $iterator->current();
        if ($identifier instanceof StepController) {
            $identifierName = $identifier->getName();
            if ($identifierName == $penultimate->getName())
                return true;
            else return false;
        }
        return false;
    }