Test if x is a image set - a list consisting of three elements: data, prompt and size
is_image_set(x)
x
R variable to test
TRUE/FALSE