code: def is_auth_alive(self):
          "Return true if the auth is not expired, else false"
          model = self.model('ir.model')
          try:
              model.search([], None, 1, None)
          except ClientError as err:
              if err and err.message['code'] == 403:
                  return False
              raise
          except Exception:
              raise
          else:
              return Truf is_auth_alive(self):
          "Return true if the auth is not expired, else false"
          model = self.model('ir.model')
          try:
              model.search([], None, 1, None)
          except ClientError as err:
              if err and err.message['code'] == 403:
                  return False
              raise
          except Exception:
              raise
          else:
              return True
docs: Return true if the auth is not expired, else false