protected function getModeIsStage()
    {
        $readingMode = Versioned::get_reading_mode();
        $draft = Versioned::DRAFT;

        if (strlen($readingMode) === 0) {
            $readingMode = Versioned::DEFAULT_MODE;
        }

        return substr_compare($readingMode, $draft, strlen($readingMode) - strlen($draft), strlen($draft)) === 0;
    }