getValue(); $apiKey = \APIKey::getDataStore(\Controller::request('apiKey'), 'token'); if (!$reCaptchaPrivateKey || !$apiKey->isNull()) return true; $reCaptcha = new \ReCaptcha\ReCaptcha($reCaptchaPrivateKey); $reCaptchaValidation = $reCaptcha->verify($reCaptchaResponse, $_SERVER['REMOTE_ADDR']); return $reCaptchaValidation->isSuccess(); } }