entity scoreboard pair detection
i'm making a thing that involves some specific mobs that are summoned that each are spawned being paired to whatever summoned it by way of a unique scoreboard value and i want to make it so the paired mobs that are spawned are killed if there are no other mobs with that specific pair id number (like if the mob that was paired died) so i guess what im really asking is how do i check if any entity has a score matching a specific entity