public static bool HasScout(this ShipData data) { return data.Slots .Where(x => x.Source.Type == SlotItemType.水上偵察機 || x.Source.Type == SlotItemType.水上爆撃機) .Any(x => 0 < x.Current); }