def is_image(self, name):
    'Return True if variable is a PIL.Image image'
    return communicate(self._get_sock(), ('is_image("%s")' % name))
Return True if variable is a PIL.Image image
def is_image(self, name):
    
    return communicate(self._get_sock(), ('is_image("%s")' % name))