docs: def login_request(self, login_urls, is_retry=False):
          """Make a login request."""
          try:
              login_url = login_urls.pop(0)
          except IndexError:
              _LOGGER.error("Could not login to blink servers.")
              return False
  
          _LOGGER.info("Attempting login with %s", login_url)
  
          response = api.request_login(self,
                                       login_url,
                                       self._username,
                                       self._password,
                                       is_retry=is_retry)
          try:
              if response.status_code != 200:
                  response = self.login_request(login_urls)
              response = response.json()
              (self.region_id, self.region), = response['region'].items()
  
          except AttributeError:
              _LOGGER.error("Login API endpoint failed with response %s",
                            response,
                            exc_info=True)
              return False
  
          except KeyError:
              _LOGGER.warning("Could not extract region info.")
              self.region_id = 'piri'
              self.region = 'UNKNOWN'
  
          self._login_url = login_url
          return response