Return non-nil if DISPLAY can display images. DISPLAY can be a display name, a frame, or nil (meaning the selected frame's display).