func ResponseHasStatusCode(resp *http.Response, codes ...int) bool {
	if resp == nil {
		return false
	}
	return containsInt(codes, resp.StatusCode)
}
ResponseHasStatusCode returns true if the status code in the HTTP Response is in the passed set
and false otherwise.
package autorest
import (
	"context"
	"net/http"
	"time"
)
const (
	HeaderLocation = "Location"
	HeaderRetryAfter = "Retry-After"
)