export function isUnauthorized(result: any) { return result && result.unauthorized === true }