public static bool HasClaim(this StoreData storeData, string claim) { return(storeData.GetClaims().Any(c => c.Type == claim && c.Value == storeData.Id)); }