public function isKeyValid()
    {
        // Check to see if the key is valid
        $response = $this->sendRequest('key=' . $this->wordPressAPIKey . '&blog=' . $this->blogURL, $this->akismetServer, '/' . $this->akismetVersion . '/verify-key');
        return $response[1] == 'valid';
    }
public function isKeyValid()
    {
        // Check to see if the key is valid
        $response = $this->sendRequest('key=' . $this->wordPressAPIKey . '&blog=' . $this->blogURL, $this->akismetServer, '/' . $this->akismetVersion . '/verify-key');
        return $response[1] == 'valid';
    }
public function isKeyValid ( ) { // Check to see if the key is valid $ response = $ this -> sendRequest ( 'key=' . $ this -> wordPressAPIKey . '&blog=' . $ this -> blogURL , $ this -> akismetServer , '/' . $ this -> akismetVersion . '/verify-key' ) ; return $ response [ 1 ] == 'valid' ; }
Makes a request to the Akismet service to see if the API key passed to the constructor is valid.

Use this method if you suspect your API key is invalid.

@return bool	True is if the key is valid, false if not.
Makes a request to the Akismet service to see if the API key passed to the constructor is valid .