for a randomly picked 13 card, there could be no "shunzi" at all, there could be more than one "shunzi".
I would think your input is a fixed set of 13 cards out of 52, then the problem should be very easy:
sort the 13 cards by value (2-14):
check all adjacent k-cards, k>=3 to see if it is a "shunzi"