Are you referring to Community/Relate+ clubs? As far as I remember there was a SecurityHelper class, that could be used to check access for particular user for particular club. Should be able I guess to get back access rights for club itself as well. Unfortunately I don't have any Community site at hand to check it out..
Is there any programmitically way to check particular club is open for everyone/anonymous users ?