/**
  * @param array $context
  * @param Post  $post
  *
  * @return bool
  */
 public function isPostPasswordRequired(array $context, Post $post)
 {
     if (null === $this->cookieHash) {
         $this->cookieHash = '';
         if ($siteUrlOption = $this->optionExtension->getOption('siteurl')) {
             $this->cookieHash = md5($siteUrlOption->getValue());
         }
     }
     return $this->postManager->isPasswordRequired($post, $context['app']->getRequest(), $this->cookieHash);
 }