add docstring to get_broken_images()