You can make a condition on contacts so that only contacts that do not have a related record in the Attendance junction object. Look at subcondition queries.
You can make a condition on contacts so that only contacts that do not have a related record in the Attendance junction object. Look at subcondition queries.