Component/Widget/Review.php
public function isReviewOptInValidationRequired()
    {
        $review = oxNew(\OxidEsales\Eshop\Application\Controller\ReviewController::class);
        return $review->isReviewOptInValidationRequired();
    }
public function isReviewOptInValidationRequired()
    {
        $review = oxNew(\OxidEsales\Eshop\Application\Controller\ReviewController::class);
        return $review->isReviewOptInValidationRequired();
    }
Is optin for product review required.

@return bool