Created function CheckGoodParticipants