I'm working on a import module for magento. I need to find out if a attribute belongs to an attribute group. I have the attribute loaded, as well as the attribute group. I've tried:
$attributeCollection = $attributeGroup->getAttributes();
The theory was that i could look at the collection, and determine whether or not the attribute has been assigned to the attribute group.