code: public function isReviewOptInValidationRequired()
      {
          $review = oxNew(\OxidEsales\Eshop\Application\Controller\ReviewController::class);
          return $review->isReviewOptInValidationRequired();
      }
docs: Is optin for product review required.
  
  @return bool