code: def comment_check(self, params):
          
      
          # Check required params for comment-check
          for required in ['blog', 'user_ip', 'user_agent']:
              if required not in params:
                  raise MissingParams(required) 
      
          response = self._request('comment-check', params)
          
          if response.status is 200:
              # Read response (trimmed of whitespace)
              return response.read().strip() == "true"
              
          return False
docs: For checking comments.