def check_has_backup_this_year(year, existing_backups):
    """
        Check if any backup in existing_backups matches year.
    """
    for backup in existing_backups:
        if backup.createdYear == year:
            return True

    return False