is.cimg function

Checks that an object is a cimg object