def is_public_group_type(context, group_type_id):
 group_type = db.group_type_get(context, group_type_id)
 return group_type['is_public']

def is_public_group_type ( context , group_type_id ) : group_type = db . group_type_get ( context , group_type_id ) return group_type [ 'is_public' ]
return is_public boolean value of group type .