How to differentiate public groups with private groups

Hello,

How do we determine if a group in the buddy list is a public server group (created by Admin on server) or private group (created by user in his spark client) using SMACK API.

Regards,

Vivek