How to make teleport ignore some servers?

So what i want to do is just check if player teleports to not servers with table of JobIds. To teleport player to server in which game still not started.