code: def validate(self):
          
  
          validate_url = "https://api.pushover.net/1/users/validate.json"
  
          payload = {
              'token': self.api_token,
              'user': self.user,
          }
  
          return requests.post(validate_url, data=payload)
docs: Validate the user and token, returns the Requests response.