def version_log_empty(vlog, output_internal=False):
    """A version log is considered empty if it would not output any entry"""
    for categorylog in vlog.logs:
        for log in categorylog.logs:
            if not log.internal or output_internal:
                return False
    return True
