<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_image(self, image_name):
 """ Is the container image with given name available? :param string image_name: Name of the image :return bool: True, if image is available. False, otherwise """


        try:
            self.docker_client.images.get(image_name)
            return True
        except docker.errors.ImageNotFound:
            return False