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

    return False