[Olena-patches] 3123: Rename Image::has_data() to Image::is_valid().