protected function curlCheck()
    {
        $ch = curl_init($this->endPoint);

        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

        $data = curl_exec($ch);

        $responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        $responseBody = $this->cleanUp($data);

        curl_close($ch);

        if ($responseCode === 200 && $responseBody === '[OK]') {
            return true;
        }

        return false;
    }