private function releaseDraft($content)
    {
        $draft = null;
        if (
                $content instanceof AbstractClassContent
                && (null !== $draft = $content->getDraft())
        ) {
            $content->releaseDraft();
        }

        return $draft;
    }