def check_influxdb_response(response):
    """Check if the response from influxdb is correct.

    InfluxDB normally responds with a 404 on GET to /, but also allow other
    non-server-error response codes to allow for that behaviour to change.
    """
    return response.code < 500