Is City Hall IT job H1B cap exempt?

Hello, I’m an international student and my opt started recently. I got an offer from City Hall for IT specialist position. I have a doubt about whether or not this comes under H1B cap exempt or I still have to go through the lottery? Any help appreciated. Thanks in advance.