corrected wrong Image.IsValid translation