public boolean isTokenRefreshRequired() {
    return httpStatus() == 401 && bodyContains("InvalidAuthenticationToken");
  }
Whether the response health is neither OK nor outright error, but merely requires a token
refresh (then a retry).
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/MicrosoftApiResponse.java