'return a image by name'

def get(self):

    results = self._get('imagestream', self.image_name)
    results['exists'] = False
    if ((results['returncode'] == 0) and results['results'][0]):
        results['exists'] = True
    if ((results['returncode'] != 0) and ('"{}"    not    found'.format(self.image_name) in results['stderr'])):
        results['returncode'] = 0
    return results
