code: def verify_key(self, url):
          
          
          response = self._request('verify-key', {
              'blog': url,
              'key': self._key
          })
          
          if response.status is 200:
              # Read response (trimmed of whitespace)
              return response.read().strip() == "valid"
              
          return False
docs: For verifying your API key.
          
          Provide the URL of your site or blog you will be checking spam from.