check for image is built