code: def _hasAttrGroupMember(self, attrGroup, attr):
          
          method_name = '%s_%s' % (attrGroup, attr)
          return hasattr(self, method_name)
docs: The hasattr equivalent for attribute groups: returns whether the given
          member is in the attribute group.