def copy_error_image(filename):
    try:
        # If we had an error, use an error message image as the response.
        f = open("templates/sorry.jpg", "rb")
        image_data = f.read()
        gcs_file = create_jpg_file(filename, image_data)
        return gcs_file
    except:
        logging.exception("could not copy image file")
        return None

# get a UUID - URL-safe, base64
Perform is_fitted validation for estimator.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-opencv-sudoku-python/utils.py/copy_error_image--crossover with--dataset/ETHPy150Open trevorstephens/gplearn/gplearn/skutils/validation.py/check_is_fitted