Checks if the response status code indicates a server error (5xx).

  • Parameters

    • response: AxiosResponse<any, any>

      The Axios response object.

    Returns boolean

    • True if the status code is between 500 and 599, inclusive.