public boolean hasImage(String name) throws DockerAccessException {
        return docker.hasImage(name);
    }
Check whether the given Image is locally available.

@param name name of image to check, the image can contain a tag, otherwise 'latest' will be appended
@return true if the image is locally available or false if it must be pulled.
@throws DockerAccessException if the request fails
src/main/java/io/fabric8/maven/docker/service/QueryService.java