docs: def login(self) -> bool:
          """Return True if log in request succeeds"""
          user_check = isinstance(self.username, str) and len(self.username) > 0
          pass_check = isinstance(self.password, str) and len(self.password) > 0
  
          if user_check and pass_check:
              response, _ = helpers.call_api(
                  '/cloud/v1/user/login',
                  'post',
                  json=helpers.req_body(self, 'login')
              )
  
              if response and helpers.check_response(response, 'login'):
                  self.token = response['result']['token']
                  self.account_id = response['result']['accountID']
                  self.enabled = True
  
                  return True
              else:
                  logger.error('Error logging in with username and password')
                  return False
  
          else:
              if user_check is False:
                  logger.error('Username invalid')
              if pass_check is False:
                  logger.error('Password invalid')
  
          return False