def _analyse_gdal_output(output):
    """analyse the output from gpt to find if it executes successfully."""
    if b'error' in output.lower():
        return False
    elif b'100 - done' in output.lower():
        return True
    else:
        return False
