Is it possible to have a gsc script check if a player has unlocked a pro perk?

I am trying to give the players scavenger Pro if they have unlocked it, and give them scavenger when they havn't unlocked it.