Qustion about set function!!

Hi I have a question about set function!!
I got an assignment for my programming class that is to make Finite State machine!!
Professor provided the header file that contains each state and set<char> that has each alphabet and number..!!

The question is how do I compare an input character and the character inside the set<char>??