Controller/ReviewController.php
public function isReviewOptInValidationRequired()
    {
        return (bool)\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam(self::REVIEW_OPTIN_PARAM);
    }
public function isReviewOptInValidationRequired()
    {
        return (bool)\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam(self::REVIEW_OPTIN_PARAM);
    }
Check if opt in validation for review is required.

@return bool