if(group_data->self == NULL) { return 0; }
int group_num_allowed_nodes(resource_t *rsc){	group_variant_data_t *group_data = NULL;	if(rsc->variant == pe_native) {		group_data = (group_variant_data_t *)rsc->variant_opaque;	} else {		crm_err("Resource %s was not a \"native\" variant",			rsc->id);		return 0;	} 	return group_data->self->fns->num_allowed_nodes(group_data->self);}