Is threre something equivalent to std::set<> in python which can be used in codechef??

I generally use the sortedcontainers module for this purpose, but it does not work in codechef. Is there an alternative??