public static bool IsAlphaPresent(PixelFormat format) { return format.ToString().Contains("a", StringComparison.OrdinalIgnoreCase); }